diff --git a/public/akaunting-js/generalAction.js b/public/akaunting-js/generalAction.js index 9458e6820..04ed2744a 100644 --- a/public/akaunting-js/generalAction.js +++ b/public/akaunting-js/generalAction.js @@ -244,12 +244,10 @@ function runTooltip(tooltipToggleEl) { function show() { // Make the tooltip visible - if (tooltipEl.classList.contains("opacity-100", "visible")) { tooltipEl.classList.remove("opacity-0"); tooltipEl.classList.add("opacity-100"); tooltipEl.classList.remove("invisible"); tooltipEl.classList.add("visible"); - } // Enable the event listeners popperInstance.setOptions((options) => ({ @@ -268,12 +266,10 @@ function runTooltip(tooltipToggleEl) { function hide() { // Hide the tooltip - if (tooltipEl.classList.contains("opacity-100", "visible")) { tooltipEl.classList.remove("opacity-100"); tooltipEl.classList.add("opacity-0"); tooltipEl.classList.remove("visible"); tooltipEl.classList.add("invisible"); - } // Disable the event listeners popperInstance.setOptions((options) => ({