From 793757a6ff4a6ca3cb7ad5454fec1c51fe63804f Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Sun, 16 Feb 2025 10:55:54 +0100 Subject: [PATCH] don't pan map wen closing/reopening/commenting a note, fixes #648 --- app/assets/javascripts/index/note.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => { -- 2.39.5