From c878b5b8d4eea403ad5838fabcb5847517d130e2 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 13 Nov 2013 15:22:36 -0800 Subject: [PATCH] Fix note commenting --- app/assets/javascripts/index/note.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/index/note.js.erb b/app/assets/javascripts/index/note.js.erb index b9730bf1d..5022cfb80 100644 --- a/app/assets/javascripts/index/note.js.erb +++ b/app/assets/javascripts/index/note.js.erb @@ -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); } }); } -- 2.39.5