Skip to content

Commit

Permalink
refactor: tippy method to hide all tooltips (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarnsley authored Sep 25, 2023
1 parent 6b81035 commit 1ab1867
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/assets/js/tippy.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "tippy.js/dist/tippy.css";

import tippy from "tippy.js";
import tippy, { hideAll } from "tippy.js";

const visibleTooltips = [];

Expand Down Expand Up @@ -133,3 +133,4 @@ if (typeof Livewire !== "undefined") {
}

window.tippy = tippy;
window.hideAllTooltips = hideAll;

0 comments on commit 1ab1867

Please sign in to comment.