aboutsummaryrefslogtreecommitdiff
path: root/web/public
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2012-01-24 10:45:37 +0100
committerJochen Topf <jochen@topf.org>2012-01-24 10:45:37 +0100
commit7fe2786bfb80eae34b165ead01372cd51be90f48 (patch)
treea3b1012232c0b837186d063e3856058f5c869502 /web/public
parent535ae8974e2405934c44f7c9316d1fdecbc94b13 (diff)
downloadtaginfo-7fe2786bfb80eae34b165ead01372cd51be90f48.tar
taginfo-7fe2786bfb80eae34b165ead01372cd51be90f48.tar.gz
Make language switch work properly with pages containing query parameters or hashes
Diffstat (limited to 'web/public')
-rw-r--r--web/public/js/taginfo.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js
index ec5a372..f68f51f 100644
--- a/web/public/js/taginfo.js
+++ b/web/public/js/taginfo.js
@@ -366,6 +366,7 @@ jQuery(document).ready(function() {
}
jQuery('#locale').bind('change', function() {
+ jQuery('#url').val(window.location);
jQuery('#set_language').submit();
});