Offline changes + use history.go(-1) to go back...

This commit is contained in:
2021-09-18 12:29:13 +02:00
parent 9fec3e602f
commit 56237cf77e
3 changed files with 20 additions and 42 deletions

View File

@@ -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');