js console error fixed
This commit is contained in:
parent
95cce00482
commit
cc54a887f1
10
public/akaunting-js/generalAction.js
vendored
10
public/akaunting-js/generalAction.js
vendored
@ -246,10 +246,12 @@ function runTooltip(tooltipToggleEl) {
|
||||
|
||||
function show() {
|
||||
// Make the tooltip visible
|
||||
if (tooltipEl.classList.contains("opacity-0", "invisible")) {
|
||||
tooltipEl.classList.remove("opacity-0", "invisible");
|
||||
} else {
|
||||
tooltipEl.classList.add("opacity-100", "visible");
|
||||
if (tooltipEl !== null) {
|
||||
if (tooltipEl.classList.contains("opacity-0", "invisible")) {
|
||||
tooltipEl.classList.remove("opacity-0", "invisible");
|
||||
} else {
|
||||
tooltipEl.classList.add("opacity-100", "visible");
|
||||
}
|
||||
}
|
||||
// Enable the event listeners
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user