diff --git a/index.html b/index.html
index 9a7bc578..1a7b2bd0 100644
--- a/index.html
+++ b/index.html
@@ -8254,7 +8254,7 @@
-
+
@@ -8269,7 +8269,7 @@
-
+
diff --git a/modules/ui/burg-editor.js b/modules/ui/burg-editor.js
index cc331342..25576f33 100644
--- a/modules/ui/burg-editor.js
+++ b/modules/ui/burg-editor.js
@@ -492,7 +492,7 @@ function editBurg(id) {
// Use Obsidian integration if available, otherwise fall back to old notes system
if (typeof editObsidianNote !== "undefined") {
const coordinates = {x: burg.x, y: burg.y};
- editObsidianNote(id, "burg", coordinates);
+ editObsidianNote("burg" + id, "burg", coordinates);
} else {
const name = elSelected.text();
editNotes("burg" + id, name);
diff --git a/modules/ui/markers-editor.js b/modules/ui/markers-editor.js
index 30bdd90b..fbcf6407 100644
--- a/modules/ui/markers-editor.js
+++ b/modules/ui/markers-editor.js
@@ -225,7 +225,7 @@ function editMarker(markerI) {
// Use Obsidian integration if available, otherwise fall back to old notes system
if (typeof editObsidianNote !== "undefined" && marker) {
const coordinates = {x: marker.x, y: marker.y};
- editObsidianNote(marker.i, "marker", coordinates);
+ editObsidianNote(id, "marker", coordinates);
} else {
editNotes(id, id);
}