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 {
|
} else {
|
||||||
tooltipEl.classList.add("opacity-100", "visible");
|
tooltipEl.classList.add("opacity-100", "visible");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// Enable the event listeners
|
// Enable the event listeners
|
||||||
|
|
||||||
popperInstance.setOptions((options) => ({
|
popperInstance.setOptions((options) => ({
|
||||||
@ -268,8 +268,10 @@ function runTooltip(tooltipToggleEl) {
|
|||||||
|
|
||||||
popperInstance.update();
|
popperInstance.update();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function hide() {
|
function hide() {
|
||||||
|
if (tooltipEl !== null) {
|
||||||
// Hide the tooltip
|
// Hide the tooltip
|
||||||
if (tooltipEl.classList.contains("opacity-100", "visible")) {
|
if (tooltipEl.classList.contains("opacity-100", "visible")) {
|
||||||
tooltipEl.classList.remove("opacity-100", "visible");
|
tooltipEl.classList.remove("opacity-100", "visible");
|
||||||
@ -289,6 +291,7 @@ function runTooltip(tooltipToggleEl) {
|
|||||||
],
|
],
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var showEvents = [];
|
var showEvents = [];
|
||||||
var hideEvents = [];
|
var hideEvents = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user