Reinitialize copy-to-clipboard buttons upon HTMX load
This commit is contained in:
parent
d224f734d5
commit
648a14ad98
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,10 +1,11 @@
|
||||||
import { initButtons } from './buttons';
|
import { initButtons } from './buttons';
|
||||||
|
import { initClipboard } from './clipboard'
|
||||||
import { initSelects } from './select';
|
import { initSelects } from './select';
|
||||||
import { initObjectSelector } from './objectSelector';
|
import { initObjectSelector } from './objectSelector';
|
||||||
import { initBootstrap } from './bs';
|
import { initBootstrap } from './bs';
|
||||||
|
|
||||||
function initDepedencies(): void {
|
function initDepedencies(): void {
|
||||||
for (const init of [initButtons, initSelects, initObjectSelector, initBootstrap]) {
|
for (const init of [initButtons, initClipboard, initSelects, initObjectSelector, initBootstrap]) {
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue