diff options
| author | yo momma <shutup@oops.wtf> | 2026-02-03 21:30:24 +0000 |
|---|---|---|
| committer | yo momma <shutup@oops.wtf> | 2026-02-03 21:30:24 +0000 |
| commit | 263677a46ee031277fae07109acac17b5ef821c4 (patch) | |
| tree | 0bbd6da3ca4fc9e4809f20be713161d39a5a525a /static/js/pages/expandable_login_init.js | |
| parent | b3928bc192cdf729d4b9e53ff5603905ae446fb7 (diff) | |
Refactor: extract page init snippets
Diffstat (limited to 'static/js/pages/expandable_login_init.js')
| -rw-r--r-- | static/js/pages/expandable_login_init.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/static/js/pages/expandable_login_init.js b/static/js/pages/expandable_login_init.js new file mode 100644 index 0000000..669836f --- /dev/null +++ b/static/js/pages/expandable_login_init.js @@ -0,0 +1,11 @@ +// Expandable login-form initializer (used by $form_login()$). +// Keeps templates mostly data-only. + +(function() { + if (typeof jQuery !== 'function') { return; } + + jQuery(function() { + if (typeof initExpandableLoginForm === 'function') { initExpandableLoginForm(); } + }); +})(); + |
