refactor: rename toast behavior to tooltip (typo)

This commit is contained in:
Herculino Trotta
2024-10-11 22:04:49 -03:00
parent c59edb7fac
commit c8a9dfb38e
10 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<span class="tw-text-xs text-white-50 mx-1"
data-bs-toggle="tooltip"
data-bs-title="{{ content }}"
_="install toast">
_="install tooltip">
<i class="fa-solid fa-circle-question fa-fw"></i>
</span>
{% endspaceless %}
+1 -1
View File
@@ -6,7 +6,7 @@
{% include 'includes/scripts/hyperscript/init_tom_select.html' %}
{% include 'includes/scripts/hyperscript/hide_amount.html' %}
{% include 'includes/scripts/hyperscript/toast.html' %}
{% include 'includes/scripts/hyperscript/tooltip.html' %}
{% include 'includes/scripts/hyperscript/htmx_error_handler.html' %}
{% javascript_pack 'htmx' attrs="defer" %}
@@ -1,5 +1,5 @@
<script type="text/hyperscript">
behavior toast
behavior tooltip
on mouseenter call bootstrap.Tooltip.getOrCreateInstance(me).show() end
on mouseleave or click call bootstrap.Tooltip.getOrCreateInstance(me).dispose() end
end