diff options
author | Jochen Topf <jochen@topf.org> | 2014-05-18 06:24:16 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-05-18 06:24:16 +0200 |
commit | 149c5f60b7b0e7ff7109ce513e020e4067dd8e68 (patch) | |
tree | aac5093d33efa8395a1e11145f9ee294afb2b1c0 /web/public | |
parent | 77797a786056a0e8a9abd95f7350546829ac8bea (diff) | |
download | taginfo-149c5f60b7b0e7ff7109ce513e020e4067dd8e68.tar taginfo-149c5f60b7b0e7ff7109ce513e020e4067dd8e68.tar.gz |
Rename /comparison page to /compare.
Diffstat (limited to 'web/public')
-rw-r--r-- | web/public/js/taginfo.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js index 2348293..b72eec9 100644 --- a/web/public/js/taginfo.js +++ b/web/public/js/taginfo.js @@ -630,7 +630,7 @@ function comparison_list_url(list) { }); if (okay) { - return '/comparison/' + jQuery.map(list, function(item, i) { + return '/compare/' + jQuery.map(list, function(item, i) { return item[0] + (item[1] === null ? '' : ('=' + item[1])); }).join('/'); } else { @@ -640,7 +640,7 @@ function comparison_list_url(list) { keys.push(item[0]); values.push(item[1] === null ? '' : item[1]); }); - return '/comparison/?' + jQuery.param({ 'key': keys, 'value': values }); + return '/compare/?' + jQuery.param({ 'key': keys, 'value': values }); } } |