From bad94ad9ee8c6d112b02389a1ced016ae15e7fb4 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 10 Nov 2022 12:02:04 -0800 Subject: [PATCH] Fix output refresh on init --- editor/js/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/js/editor.js b/editor/js/editor.js index a49ba2fa3..f84af5c83 100644 --- a/editor/js/editor.js +++ b/editor/js/editor.js @@ -227,5 +227,5 @@ import "../css/tabbed-editor.css"; tabby.registerEventListeners(); mceEvents.register(); - document.addEventListener("WebComponentsReady", () => refreshOutput()); + refreshOutput(); })();