From 7a944d65082af044888e3c38093bfadf0d0dbf3d Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Sun, 18 May 2014 21:46:25 +0200 Subject: Make numbers in tags "clean". This will change the way the /compare URL is built. --- web/public/js/taginfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/public') diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js index a67d564..c37f29e 100644 --- a/web/public/js/taginfo.js +++ b/web/public/js/taginfo.js @@ -617,7 +617,7 @@ function comparison_list_update(key, value) { } function comparison_list_item_clean(text) { - return text === null || text.match(/^[a-zA-Z:_]+$/) !== null; + return text === null || text.match(/^[a-zA-Z0-9:_]+$/) !== null; } function comparison_list_url(list) { -- cgit v1.2.3