Revert "patch to allow user-added prefixes and modification to random pad names; correctly process uri-encoded utf-8 characters in pad names and page titles"

This reverts commit bda20a38a4.
This commit is contained in:
Wikinaut 2011-11-10 22:42:30 +01:00
parent bda20a38a4
commit 223016d78d
4 changed files with 15 additions and 29 deletions

View file

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