Rebuild assets

This commit is contained in:
2023-08-27 17:29:47 +10:00
parent d34e91dafe
commit 6f2ff58072
4 changed files with 7 additions and 4 deletions

View File

@@ -1 +1 @@
{"gallery.js":"gallery-e0vjhfODabxO.js","index.js":"index-e0vjhfODabxO.js","index.css":"index-e0vjhfODabxO.css"}
{"gallery.js":"gallery-GnfI8WTlvgAV.js","index.js":"index-GnfI8WTlvgAV.js","index.css":"index-GnfI8WTlvgAV.css"}

View File

@@ -27,10 +27,13 @@
});
const mapContainer = document.getElementById("map");
const goBack = document.getElementById("go-back");
if (mapContainer !== null) {
document.getElementById("go-back").addEventListener("click", () => {
history.back();
});
if (goBack !== null) {
document.getElementById("go-back").addEventListener("click", () => {
history.back();
});
}
mapboxgl.accessToken = 'pk.eyJ1IjoiZG5pdHphIiwiYSI6ImNsZWIyY3ZzaTE0cjUzdm4xdnZ6czRlYjUifQ.FRETOXYRID6T2IoB7qqRLg';
var map = new mapboxgl.Map({