From eb56e76d48579298db18470e75523720a96c53c3 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sun, 5 Apr 2020 10:23:36 -0400 Subject: [PATCH] Recalculuate the canvas size a few times in case icons load in late and reshape the menubar --- macrovision.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macrovision.js b/macrovision.js index a827b7fd..099e025f 100644 --- a/macrovision.js +++ b/macrovision.js @@ -1780,6 +1780,9 @@ document.addEventListener("DOMContentLoaded", () => { // maybe the menu bar is animating when it shouldn't) setTimeout(handleResize, 250); + setTimeout(handleResize, 500); + setTimeout(handleResize, 750); + setTimeout(handleResize, 1000); document.querySelector("#menu-permalink").addEventListener("click", e => {