Add initSelect() to HTMX refresh handler

This commit is contained in:
jeremystretch 2023-02-02 09:20:15 -05:00
parent fc84e23968
commit cb0dfe5e49
3 changed files with 3 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,8 +1,10 @@
import { getElements, isTruthy } from './util';
import { initButtons } from './buttons';
import { initSelect } from './select';
function initDepedencies(): void {
for (const init of [initButtons]) {
console.log('initDepedencies()');
for (const init of [initButtons, initSelect]) {
init();
}
}