-
-
Notifications
You must be signed in to change notification settings - Fork 23
JS Error "joomla-hidden-mail" if Minify JS is enabled #245
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hello everyone,
i have Joomla 4.2.5, Astroid 2.6.2 and Template One 2.6.2 installed.
When I save an email address in an article and minify JS/CSS, my console shows this error
Uncaught DOMException: CustomElementRegistry.define: 'joomla-hidden-mail' has already been defined as a custom element
Because the script (…joomla-hidden-mail.min.js” type=”module” …) is loaded in head tag and the dependent script (…joomla-hidden-mail-es5.min.js…) is loaded inside the minified script in the body tag.
Best regards
Karl
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
