console error fixed
This commit is contained in:
parent
650728143b
commit
1222cc3312
5
public/akaunting-js/generalAction.js
vendored
5
public/akaunting-js/generalAction.js
vendored
@ -252,7 +252,7 @@ function runTooltip(tooltipToggleEl) {
|
||||
} else {
|
||||
tooltipEl.classList.add("opacity-100", "visible");
|
||||
}
|
||||
}
|
||||
|
||||
// Enable the event listeners
|
||||
|
||||
popperInstance.setOptions((options) => ({
|
||||
@ -268,8 +268,10 @@ function runTooltip(tooltipToggleEl) {
|
||||
|
||||
popperInstance.update();
|
||||
}
|
||||
}
|
||||
|
||||
function hide() {
|
||||
if (tooltipEl !== null) {
|
||||
// Hide the tooltip
|
||||
if (tooltipEl.classList.contains("opacity-100", "visible")) {
|
||||
tooltipEl.classList.remove("opacity-100", "visible");
|
||||
@ -289,6 +291,7 @@ function runTooltip(tooltipToggleEl) {
|
||||
],
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
var showEvents = [];
|
||||
var hideEvents = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user