]> git.openstreetmap.org Git - rails.git/commitdiff
don't pan map wen closing/reopening/commenting a note, fixes #648
authorMartin Raifer <martin@raifer.tech>
Sun, 16 Feb 2025 09:55:54 +0000 (10:55 +0100)
committerMartin Raifer <martin@raifer.tech>
Sun, 16 Feb 2025 09:59:34 +0000 (10:59 +0100)
app/assets/javascripts/index/note.js

index 7d1d77801150755df189f6118f2bf9b42da99ca3..4fb512bdd81028eeaf6de4c6920a52e48856ab14 100644 (file)
@@ -44,7 +44,7 @@ OSM.Note = function (map) {
         oauth: true,
         success: () => {
           OSM.loadSidebarContent(path, () => {
-            initialize(path, id);
+            initialize(path, id, false);
           });
         },
         error: (xhr) => {