X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..ff7ddb6b86bf918a9418af7382836b41594d45e4:/app/assets/javascripts/login.js?ds=sidebyside diff --git a/app/assets/javascripts/login.js b/app/assets/javascripts/login.js index 853db34a9..74b226bf6 100644 --- a/app/assets/javascripts/login.js +++ b/app/assets/javascripts/login.js @@ -1,4 +1,8 @@ +//= querystring + $(document).ready(function () { + var querystring = require("querystring-component"); + // Preserve location hash in referer if (window.location.hash) { $("#referer").val($("#referer").val() + window.location.hash);