]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/user.js
Remove color repetition
[rails.git] / app / assets / javascripts / user.js
index b5520aa36e42373ab3fdde9bb693e5c1a0ce56cc..86a30958b97d258b22ab81ebae1e60bb74c82ff4 100644 (file)
@@ -7,10 +7,6 @@ $(document).ready(function () {
   L.OSM.zoom()
     .addTo(map);
 
-  $("#map").on("resized", function () {
-    map.invalidateSize();
-  });
-
   if (OSM.home) {
     map.setView([OSM.home.lat, OSM.home.lon], 12);
   } else {