FIX: Skip the window load event for now (#17231)

This commit is contained in:
Joe
2022-06-24 19:23:33 +08:00
committed by GitHub
parent 529c5e343d
commit f73796b258
+2 -8
View File
@@ -82,14 +82,8 @@ const Discourse = Application.extend({
});
});
window.addEventListener(
"load",
() => {
// The app booted. Remove the splash screen
document.querySelector("#d-splash")?.remove();
},
{ once: true }
);
// The app booted. Remove the splash screen
document.querySelector("#d-splash")?.remove();
},
_registerPluginCode(version, code) {