keenthemes / metronic-tailwind-html-integration

Metronic Tailwind CSS Integration Guides
MIT License
29 stars 24 forks source link

Tooltip missed parenthesis #16

Open raffaeleberardo opened 3 weeks ago

raffaeleberardo commented 3 weeks ago

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.

keen333 commented 2 weeks ago

Hi,

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.

Regards, Sean