Skip to content

Commit

Permalink
Merge branch 'chore/update-livewire' of github.com:arkecosystem/larav…
Browse files Browse the repository at this point in the history
…el-foundation into chore/update-livewire
  • Loading branch information
alexbarnsley committed Jun 11, 2024
2 parents 3d0123f + 807c334 commit be6092e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/assets/js/tippy.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ window.initClipboard = () => {
});
};

document.addEventListener('DOMContentLoaded', function () {
document.addEventListener("DOMContentLoaded", function () {
if (typeof Livewire !== "undefined") {
Livewire.hook("commit", ({ component, succeed }) => {
succeed(() => {
destroyOutdatedTippyInstances(component.el);

initTippy(component.el);
})
});
});
}
});
Expand Down

0 comments on commit be6092e

Please sign in to comment.