diff --git a/static/favicon.ico b/static/favicon.ico index 2529c923f..a4777862b 100644 Binary files a/static/favicon.ico and b/static/favicon.ico differ diff --git a/static/index.html b/static/index.html index fb53acb20..3b3944cc2 100644 --- a/static/index.html +++ b/static/index.html @@ -89,18 +89,8 @@ diff --git a/static/js/pad2.js b/static/js/pad2.js index 9df57ae8f..ea06d8cfd 100644 --- a/static/js/pad2.js +++ b/static/js/pad2.js @@ -172,7 +172,7 @@ 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 + padId = decodeURIComponent(padId); document.title = document.title + " | " + padId; diff --git a/static/timeslider.html b/static/timeslider.html index 4dbf8d939..73bc5fcd1 100644 --- a/static/timeslider.html +++ b/static/timeslider.html @@ -62,7 +62,7 @@ //get the padId out of the url var urlParts= document.location.pathname.split("/"); - padId = urlParts[urlParts.length-2]; + padId = decodeURIComponent( urlParts[urlParts.length-2] ); //set the title document.title = document.title + " | " + padId;