mirror of
https://github.com/Cola-Echo/Cola.git
synced 2026-06-06 03:35:50 +00:00
Add files via upload
This commit is contained in:
4
main.js
4
main.js
@@ -1634,8 +1634,8 @@ function init() {
|
||||
}
|
||||
|
||||
if (typeof jQuery === 'function') {
|
||||
jQuery(() => init());
|
||||
jQuery(() => setTimeout(init, 500));
|
||||
} else {
|
||||
document.addEventListener('DOMContentLoaded', init, { once: true });
|
||||
document.addEventListener('DOMContentLoaded', () => setTimeout(init, 500), { once: true });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user