Project

General

Profile

Actions

Bug #99974

closed

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

Added by Alex Kellner almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-02-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF