]> git.openstreetmap.org Git - rails.git/blob - app/assets/javascripts/login.js
Merge pull request #5388 from AntonKhorev/map-layer-can-embed
[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 });