Skip to content

Commit

Permalink
Theme: fix tooltips not working after pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
SKuipers committed Nov 12, 2024
1 parent 6dd206b commit a2b404f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion resources/assets/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ document.addEventListener('alpine:init', () => {
};

let mouseLeave = function(event){
var tooltip = document.getElementById(event.target.dataset.tooltip);
var tooltip = document.getElementById(tooltipId);
if (tooltip) tooltip.remove();

tooltipActive = false;
Expand Down Expand Up @@ -927,6 +927,7 @@ DataTable.prototype.refresh = function () {
$(".bulkActionPanel").addClass("hidden");
clearTimeout(submitted);
htmx.process(this);
htmx.trigger(this, 'htmx:load');
}
);
};
Expand Down
2 changes: 1 addition & 1 deletion resources/assets/js/core.min.js

Large diffs are not rendered by default.

0 comments on commit a2b404f

Please sign in to comment.