mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Skip the window load event for now (#17231)
This commit is contained in:
parent
529c5e343d
commit
f73796b258
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user