From 26fc8cca2ad12d6bf0eac5fdcdf295c9fce4385e Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Thu, 11 Jun 2020 11:49:48 -0400 Subject: [PATCH] Always shrink the menubar when images are loaded --- xray.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xray.js b/xray.js index b43ef57..30d06f2 100644 --- a/xray.js +++ b/xray.js @@ -26,8 +26,6 @@ document.addEventListener("DOMContentLoaded", e => { document.querySelector("#overlay-url").placeholder = "Invalid URL..."; } - document.querySelector("#menu").classList.remove("start"); - const overlayImg = document.querySelector("#overlay-img"); const baseImg = document.querySelector("#base-img"); @@ -130,6 +128,7 @@ document.addEventListener("DOMContentLoaded", e => { }); function load() { + document.querySelector("#menu").classList.remove("start"); const overlayImg = document.querySelector("#overlay-img"); const baseImg = document.querySelector("#base-img");