X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..bf9dd8f350ca1b54afb79dda79506d980ccb5738:/app/assets/javascripts/login.js 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);