]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/note.js.erb
Simplify
[rails.git] / app / assets / javascripts / index / note.js.erb
index b9730bf1da08b5e1147d19186353ffe1cb2d11f9..5022cfb809b0740f657513af6e8ef96df310047e 100644 (file)
@@ -38,7 +38,7 @@ OSM.Note = function (map) {
         } else if (marker) {
           marker.setIcon(noteIcons[feature.properties.status]);
         }
-        page.load();
+        OSM.loadSidebarContent(window.location.pathname, page.load);
       }
     });
   }