]> git.openstreetmap.org Git - rails.git/blob - app/assets/javascripts/login.js
Merge pull request #5417 from tomhughes/social-share-helper
[rails.git] / app / assets / javascripts / login.js
1 $(document).ready(function () {
2   // Preserve location hash in referer
3   if (window.location.hash) {
4     $("#referer").val($("#referer").val() + window.location.hash);
5   }
6 });