From a69623b0ab6baff9f968e126c25d7e961e9dde53 Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Thu, 2 May 2024 11:02:10 -0700
Subject: Organize public directory contents into assets folders
---
src/modules/map_select_dialog.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src/modules')
diff --git a/src/modules/map_select_dialog.js b/src/modules/map_select_dialog.js
index a9f8bc8..fc8eecc 100644
--- a/src/modules/map_select_dialog.js
+++ b/src/modules/map_select_dialog.js
@@ -34,7 +34,7 @@ export function init() {
e.preventDefault();
localStorage.removeItem('pan-zoom');
localStorage.setItem('map', selectEl.value);
- document.querySelector('object').data = `${selectEl.value}.svg`;
+ document.querySelector('object').data = `assets/images/${selectEl.value}.svg`;
mapDialog.close();
});
}
--
cgit v1.2.3