From: Martin Raifer Date: Sun, 16 Feb 2025 09:55:54 +0000 (+0100) Subject: don't pan map wen closing/reopening/commenting a note, fixes #648 X-Git-Tag: live~146^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/793757a6ff4a6ca3cb7ad5454fec1c51fe63804f don't pan map wen closing/reopening/commenting a note, fixes #648 --- diff --git a/app/assets/javascripts/index/note.js b/app/assets/javascripts/index/note.js index 7d1d77801..4fb512bdd 100644 --- a/app/assets/javascripts/index/note.js +++ b/app/assets/javascripts/index/note.js @@ -44,7 +44,7 @@ OSM.Note = function (map) { oauth: true, success: () => { OSM.loadSidebarContent(path, () => { - initialize(path, id); + initialize(path, id, false); }); }, error: (xhr) => {