Go back with history.go(-1)...

This commit is contained in:
Nicolò P 2021-09-18 11:33:41 +02:00
parent 9fec3e602f
commit e10e343b3b

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