diff options
author | Jochen Topf <jochen@topf.org> | 2014-08-25 17:23:40 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-08-25 17:23:40 +0200 |
commit | 01673a8321baf8b8d3a9a0a5d3b4cd19da5192af (patch) | |
tree | 3cbaa0eb0bac9ddb9f6cf33fdf9a626475b834c7 /web/public | |
parent | 9f1ea7a27c34cdc1ba1eacdc6ffd8e06df5aab48 (diff) | |
download | taginfo-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.js | 2 |
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(); }); |