diff options
author | Arun Persaud <arun@nubati.net> | 2011-11-26 22:29:40 -0800 |
---|---|---|
committer | Arun Persaud <apersaud@lbl.gov> | 2011-11-26 22:29:40 -0800 |
commit | 26ae9884808f0613d35268818a3b0cd7ed247872 (patch) | |
tree | c1a2b8bdf9aca940fbb7feabacd4bb5235075a67 | |
parent | c1e08c52aa47aa1db8a548c5c4b9c61f62335402 (diff) | |
download | photo-tags-26ae9884808f0613d35268818a3b0cd7ed247872.tar.gz photo-tags-26ae9884808f0613d35268818a3b0cd7ed247872.tar.bz2 photo-tags-26ae9884808f0613d35268818a3b0cd7ed247872.zip |
fix displaying of tags that include a whitespace (use + instead)
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ d3.json("<?php echo $webbase?>/getjson.php?S", function(json) { /* update form to point to new link */ d3.select("input").on("keyup", function(d) { - d3.select('form').attr("action","<?php echo $webbase?>/tag/"+document.getElementById('MyTagsInput').value); + d3.select('form').attr("action","<?php echo $webbase?>/tag/"+document.getElementById('MyTagsInput').value.replace(" ","+")); }); function myreload(a) { |