diff --git a/js/ui.js b/js/ui.js index 38a3841..60e8e10 100644 --- a/js/ui.js +++ b/js/ui.js @@ -54,7 +54,7 @@ if (window.location.href.includes('video')) { close.addEventListener('click', () => { // If referred from interactive map, shouldn't // just go back... - history.back(); + window.history.go(-1); }); let source = document.querySelector('source');