]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Fix mobile map and other minor mobile adjustments
[rails.git] / app / assets / javascripts / index.js
index 5cf9c15ff0311a7d5763a72f95f160624125341a..847c230b6e77ed3fc44d07fe917f3dedd3f26dcc 100644 (file)
@@ -4,7 +4,7 @@
 //= require index/key
 
 $(document).ready(function () {
-  var permalinks = $("#permalink").html();
+  var permalinks = $("#permalink").detach().html();
   var marker;
   var params = OSM.mapParams();
   var map = createMap("map");