From ae04e0622070eeb3595a18a126915f9d6c0204ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Tue, 14 Apr 2015 19:55:09 +0200 Subject: [PATCH] funny --- static/js/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/search.js b/static/js/search.js index edc2fe89..de083c99 100755 --- a/static/js/search.js +++ b/static/js/search.js @@ -147,7 +147,7 @@ function search(search_input){ \ "; //\ - + //+data.uploader+" • "+ //$("#results").append(finalhtml); wrapper += finalhtml; @@ -186,7 +186,7 @@ function submitAndClose(id,title){ function submit(id,title,type){ - socket.emit("add", [id, decodeURI(title), adminpass]); + socket.emit("add", [id, decodeURIComponent(title), adminpass]); if(type){ document.getElementById("search").value = ""; $("#results").html = "";