X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6294e9ae59d553278e733d0923e06160b3ae51c2..c5be2b6f8498ba4f0df1fc95f307078320e2b5be:/app/assets/javascripts/index/export.js diff --git a/app/assets/javascripts/index/export.js b/app/assets/javascripts/index/export.js index 199f226f5..851dbb9ae 100644 --- a/app/assets/javascripts/index/export.js +++ b/app/assets/javascripts/index/export.js @@ -51,13 +51,10 @@ OSM.Export = function(map) { page.pushstate = page.popstate = function(path) { $("#export_tab").addClass("current"); - $("#sidebar").removeClass("minimized"); - map.invalidateSize(); - $("#sidebar_content").load(path, page.load); + OSM.loadSidebarContent(path, page.load); }; page.load = function() { - $("#sidebar").removeClass("minimized"); map .addLayer(locationFilter) .on("moveend", update);