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 = "";