In the tooltip.ts file, there is a syntax error in the createdInstances() method. The document.querySelectorAll method is missing a closing parenthesis.
Thanks for the feedback. Noted and the fix will be added to Metronic v9.0.5 update in 1-2 weeks along with new features such as 5 new demos and improvements.
In the tooltip.ts file, there is a syntax error in the createdInstances() method. The document.querySelectorAll method is missing a closing parenthesis.
Current Code:
document.querySelectorAll('[data-tooltip]:not([data-tooltip="false"]')
Corrected Code:document.querySelectorAll('[data-tooltip]:not([data-tooltip="false"])')
This change ensures proper syntax and functionality by correctly closing the :not pseudo-class.
Suggested Fix: Add the missing parenthesis to the document.querySelectorAll method.