From 26ae9884808f0613d35268818a3b0cd7ed247872 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sat, 26 Nov 2011 22:29:40 -0800 Subject: fix displaying of tags that include a whitespace (use + instead) --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index e5131db..4a7bdf4 100644 --- a/index.php +++ b/index.php @@ -70,7 +70,7 @@ d3.json("/getjson.php?S", function(json) { /* update form to point to new link */ d3.select("input").on("keyup", function(d) { - d3.select('form').attr("action","/tag/"+document.getElementById('MyTagsInput').value); + d3.select('form').attr("action","/tag/"+document.getElementById('MyTagsInput').value.replace(" ","+")); }); function myreload(a) { -- cgit v1.2.3-18-g5258