X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/de5a225a95125db1a66d6dfbaa3a790db9719c18..5a00e23fa3200d95a27177dc5e392993e9dd0195:/app/assets/javascripts/diary_entry.js diff --git a/app/assets/javascripts/diary_entry.js b/app/assets/javascripts/diary_entry.js index 7c420b671..1aa728ea0 100644 --- a/app/assets/javascripts/diary_entry.js +++ b/app/assets/javascripts/diary_entry.js @@ -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()) {