mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-12-01 20:54:17 +01:00
feat: another batch
This commit is contained in:
1 parent
89b2d0118d
commit
9ade58a003
49 files changed
+822
-493
No files matched your search
@@ -1,20 +1,13 @@
|
||||
<script type="text/hyperscript">
|
||||
def initTooltips(t)
|
||||
-- Initialize new tooltips
|
||||
for tooltipTriggerEl in <[data-bs-toggle="tooltip"]/> in t
|
||||
call bootstrap.Tooltip.getOrCreateInstance(tooltipTriggerEl)
|
||||
end
|
||||
end
|
||||
|
||||
init
|
||||
call initTooltips(body)
|
||||
call initiateTooltips()
|
||||
end
|
||||
|
||||
on htmx:afterSettle
|
||||
call initTooltips(body)
|
||||
call initiateTooltips()
|
||||
end
|
||||
|
||||
on tooltips
|
||||
call initTooltips(body)
|
||||
call initiateTooltips()
|
||||
end
|
||||
</script>
|
||||
Reference in new issue
Block a user