This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { initCsrf } from './components/csrf.js';
|
||||
import { initFlash } from './components/flash.js';
|
||||
import { initForms } from './components/forms.js?v=20260322a';
|
||||
import { initModal } from './components/modal.js';
|
||||
import { initDashboard } from './components/dashboard.js';
|
||||
import { initSettingsSections } from './components/settings-sections.js';
|
||||
|
||||
function initApp() {
|
||||
initCsrf();
|
||||
initFlash();
|
||||
initForms();
|
||||
initModal();
|
||||
initDashboard();
|
||||
initSettingsSections();
|
||||
}
|
||||
|
||||
window.__stundenfuchsInitApp = initApp;
|
||||
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', initApp);
|
||||
} else {
|
||||
initApp();
|
||||
}
|
||||
Reference in New Issue
Block a user