]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/diary_entry.js
Fix minzoom alert
[rails.git] / app / assets / javascripts / diary_entry.js
index 7c420b671b679901230be1b041a336e0bec676b4..1aa728ea0f36d3c4f40b38fe667888f74c4877c9 100644 (file)
@@ -30,10 +30,6 @@ $(document).ready(function () {
     L.OSM.zoom()
       .addTo(map);
 
-    $("#map").on("resized", function () {
-      map.invalidateSize();
-    });
-
     map.setView(centre, params.zoom);
 
     if ($("#latitude").val() && $("#longitude").val()) {