From 093e63653cc49c686cae3873ccd6616aab76967f Mon Sep 17 00:00:00 2001 From: Jonas Leder Date: Fri, 11 Feb 2022 10:24:39 +0100 Subject: [PATCH] fix bug windows resizer only working once --- js/customElements/404Buttons.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/customElements/404Buttons.js b/js/customElements/404Buttons.js index e3ce348..68d016a 100644 --- a/js/customElements/404Buttons.js +++ b/js/customElements/404Buttons.js @@ -32,6 +32,7 @@ class notFoundButtons extends HTMLElement { terminal.style.width = "37.5rem"; terminal.style.height = "22.5rem"; terminal.style.top = "10.5rem"; + this.windowResized = false; } } @@ -63,4 +64,4 @@ class notFoundButtons extends HTMLElement { } } -customElements.define("jl-404_buttons", notFoundButtons); \ No newline at end of file +customElements.define("jl-404_buttons", notFoundButtons);