aboutsummaryrefslogtreecommitdiff
path: root/web/public
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-08-25 17:23:40 +0200
committerJochen Topf <jochen@topf.org>2014-08-25 17:23:40 +0200
commit01673a8321baf8b8d3a9a0a5d3b4cd19da5192af (patch)
tree3cbaa0eb0bac9ddb9f6cf33fdf9a626475b834c7 /web/public
parent9f1ea7a27c34cdc1ba1eacdc6ffd8e06df5aab48 (diff)
downloadtaginfo-01673a8321baf8b8d3a9a0a5d3b4cd19da5192af.tar
taginfo-01673a8321baf8b8d3a9a0a5d3b4cd19da5192af.tar.gz
Use pathname only instead of full URL in language switcher.
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 88f3745..165b2b0 100644
--- a/web/public/js/taginfo.js
+++ b/web/public/js/taginfo.js
@@ -751,7 +751,7 @@ jQuery(document).ready(function() {
}
jQuery('#locale').bind('change', function() {
- jQuery('#url').val(window.location);
+ jQuery('#url').val(window.location.pathname);
jQuery('#set_language').submit();
});