Issue Bug Closed

#99974page.includeJSFooter.anything.defer=1 does not set the defer attribute

Alex Kellner 02/16/23, 19:05 updated 02/16/23, 20:24

Description

I don’t know why, but it seems that this will not add the “defer” attribute:

page.includeJSFooter.luxenterprise = EXT:luxenterprise/Resources/Public/JavaScript/Lux/LuxEnterprise.min.js
page.includeJSFooter.luxenterprise.defer = 1

While this (with …libs) works fine:

page.includeJSFooterlibs.luxenterprise = EXT:luxenterprise/Resources/Public/JavaScript/Lux/LuxEnterprise.min.js
page.includeJSFooterlibs.luxenterprise.defer = 1

async=1 seems to work as expected in both cases.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.