From 149c5f60b7b0e7ff7109ce513e020e4067dd8e68 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sun, 18 May 2014 06:24:16 +0200 Subject: Rename /comparison page to /compare. --- web/public/js/taginfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/public') 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 }); } } -- cgit v1.2.3