diff --git a/README.md b/README.md index 6301663..1cdadb7 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,9 @@ This project includes two versions of the same HTML5 app: - offline local installation (tracked by `master` branch) -- online website _nelcielodifara.cnr.it_ (tracked by `online-site` branch) \ No newline at end of file +- online website _nelcielodifara.cnr.it_ (tracked by `online-site` branch) + +## TODO + +- Add Vimeo links for videos in `online-site` version. +- Interactive SVG map?? \ No newline at end of file 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'); diff --git a/progetto.html b/progetto.html index 9d259d9..4ff0b4a 100644 --- a/progetto.html +++ b/progetto.html @@ -42,6 +42,7 @@