Show the padname in the html title

pull/35/head
Peter 'Pita' Martischka 2011-05-23 22:30:49 +01:00
parent 509498f141
commit 0335e48e35
2 changed files with 3 additions and 1 deletions

View File

@ -70,6 +70,8 @@ function handshake()
socket.on('connect', function(){
var padId= document.URL.substring(document.URL.lastIndexOf("/")+1);
document.title = document.title + " | " + padId;
var token = readCookie("token");
if(token == null)
{

View File

@ -6,7 +6,7 @@
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="en-us"/>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW"/>
<title>Etherpad Lite v0.0.1: test</title>
<title>Etherpad Lite</title>
<!-- <base href="http://localhost:9001/" />-->
<!-- CSS -->
<link href="/static/css/pad_lite.css" rel="stylesheet" type="text/css"/>