fixed opera bug thx @johnyma22

This commit is contained in:
Peter 'Pita' Martischka 2011-08-15 15:40:38 +01:00
parent 793ef42704
commit 37a220fa87
1 changed files with 3 additions and 1 deletions

View File

@ -150,6 +150,8 @@ function handshake()
socket.once('connect', function()
{
var padId = document.location.pathname.substring(document.location.pathname.lastIndexOf("/") + 1);
padId = unescape(padId); // unescape neccesary due to Safari and Opera interpretation of spaces
document.title = document.title + " | " + padId;
var token = readCookie("token");