Go back with history.go(-1)...
This commit is contained in:
parent
9fec3e602f
commit
e10e343b3b
2
js/ui.js
2
js/ui.js
@ -54,7 +54,7 @@ if (window.location.href.includes('video')) {
|
|||||||
close.addEventListener('click', () => {
|
close.addEventListener('click', () => {
|
||||||
// If referred from interactive map, shouldn't
|
// If referred from interactive map, shouldn't
|
||||||
// just go back...
|
// just go back...
|
||||||
history.back();
|
window.history.go(-1);
|
||||||
});
|
});
|
||||||
|
|
||||||
let source = document.querySelector('source');
|
let source = document.querySelector('source');
|
||||||
|
Loading…
Reference in New Issue
Block a user