mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-05-31 03:40:49 +02:00
refactor: rename toast behavior to tooltip (typo)
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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
-1
@@ -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
|
||||
Reference in New Issue
Block a user