Show the padname in the html title

This commit is contained in:
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)
{