aboutsummaryrefslogtreecommitdiff
path: root/web/public
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-05-18 21:46:25 +0200
committerJochen Topf <jochen@topf.org>2014-05-18 21:46:25 +0200
commit7a944d65082af044888e3c38093bfadf0d0dbf3d (patch)
tree36621fdb089848415ea8e09ec485c9dab574c21f /web/public
parent7ee6c8a6bf106b24787ae2352c9456911e1e8a56 (diff)
downloadtaginfo-7a944d65082af044888e3c38093bfadf0d0dbf3d.tar
taginfo-7a944d65082af044888e3c38093bfadf0d0dbf3d.tar.gz
Make numbers in tags "clean".
This will change the way the /compare URL is built.
Diffstat (limited to 'web/public')
-rw-r--r--web/public/js/taginfo.js2
1 files changed, 1 insertions, 1 deletions
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) {