|
|
|
@ -15,7 +15,7 @@ function run() {
|
|
|
|
|
function initialize() {
|
|
|
|
|
let welcome = document.getElementById("welcome");
|
|
|
|
|
let exhibit = document.getElementById("exhibition");
|
|
|
|
|
let notice = document.getElementById("overlay-arrow");
|
|
|
|
|
let notice = Array.from(document.getElementsByClassName("arrow"));
|
|
|
|
|
flyingText(welcome);
|
|
|
|
|
document.addEventListener("click", (e) => {
|
|
|
|
|
let overlay = document.getElementById("info-box");
|
|
|
|
@ -33,7 +33,8 @@ function initialize() {
|
|
|
|
|
|
|
|
|
|
// remove the indicator on enter
|
|
|
|
|
exhibit.addEventListener("mouseenter", () => {
|
|
|
|
|
notice.remove();
|
|
|
|
|
notice[0].remove();
|
|
|
|
|
notice[1].remove();
|
|
|
|
|
}, {once: true});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|