X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..9f7ec064e448a745e0ea2615a089f0988215dec6:/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);