Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-05-02 11:02:10 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-05-02 11:04:09 -0700
commita69623b0ab6baff9f968e126c25d7e961e9dde53 (patch)
treed1f84b493cb3cbf1f2ba8df61f9ff8bd6099277f /src/modules/map_select_dialog.js
parent9ac571cc244ef02a32679f3fb47ffee5f7e0fd7c (diff)
Organize public directory contents into assets folders
Diffstat (limited to 'src/modules/map_select_dialog.js')
-rw-r--r--src/modules/map_select_dialog.js2
1 files changed, 1 insertions, 1 deletions
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();
});
}