diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/search.jd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/html/search.jd b/docs/html/search.jd index 838af03..8032b22 100644 --- a/docs/html/search.jd +++ b/docs/html/search.jd @@ -94,9 +94,9 @@ page.title=Search Results // when an event on the browser history occurs (back, forward, load) perform a search $(window).history(function(e, hash) { - var query = getQuery(hash); + var query = decodeURI(getQuery(hash)); searchControl.execute(query); - $("#searchTitle").html("search results for <em>" + decodeURI(query) + "</em>"); + $("#searchTitle").html("search results for <em>" + query + "</em>"); }); // forcefully regain key-up event control (previously jacked by search api) |