On a clean install I am seeing both the es5 and the min version of the joomla-alert javascript being loaded
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-02-12 11:56:01 |
Closed_By | ⇒ | brianteeman |
Thanks for the explanation - learnt something new. Might be worth documenting this as I am sure it will come up again.
Expected, modern browsers will load the
type=module
and older browsers thenomodule
. The same pattern is also repeated for Bootstrap components and there's a PR #32315 to move all the rest js scripts to use this pattern (thetype=module
is es6+).