diff options
author | Yorhel <git@yorhel.nl> | 2011-04-03 17:22:02 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-04-03 17:22:02 +0200 |
commit | 93052761c69fda87ec30c3939cae38bdcc6c92f7 (patch) | |
tree | 7c4e239c56afdf0c2083910531614dfed925d692 /data | |
parent | d4e2fe47e3c86692574f0c7cff17e485a73536d8 (diff) |
Bugfix: copy over search string when switching to trait search
Diffstat (limited to 'data')
-rw-r--r-- | data/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/script.js b/data/script.js index 87f660a3..50bc647e 100644 --- a/data/script.js +++ b/data/script.js @@ -2825,7 +2825,7 @@ if(byId('searchtabs')) { var f = function() { var str = byId('q').value; if(str.length > 1) { - if(this.href.indexOf('/g') >= 0) + if(this.href.indexOf('/g') >= 0 || this.href.indexOf('/i') >= 0) this.href += '/list'; this.href += '?q=' + encodeURIComponent(str); } |