js console error fixed
This commit is contained in:
parent
95cce00482
commit
cc54a887f1
2
public/akaunting-js/generalAction.js
vendored
2
public/akaunting-js/generalAction.js
vendored
@ -246,11 +246,13 @@ function runTooltip(tooltipToggleEl) {
|
|||||||
|
|
||||||
function show() {
|
function show() {
|
||||||
// Make the tooltip visible
|
// Make the tooltip visible
|
||||||
|
if (tooltipEl !== null) {
|
||||||
if (tooltipEl.classList.contains("opacity-0", "invisible")) {
|
if (tooltipEl.classList.contains("opacity-0", "invisible")) {
|
||||||
tooltipEl.classList.remove("opacity-0", "invisible");
|
tooltipEl.classList.remove("opacity-0", "invisible");
|
||||||
} 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) => ({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user