]> git.openstreetmap.org Git - rails.git/blob - app/assets/javascripts/login.js
Save lat/lon to input data attributes
[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 });