Problem/Motivation

After enabling the module, deferjs attributes are not added in the JS files.
Example:

Steps to reproduce

Install the module and enable it from the configuration without any other configuration.

Proposed resolution

Need to change the condition where adding deferjs attributes.

Remaining tasks

Need to change the condition where adding deferjs attributes.

User interface changes

NA

API changes

NA

Data model changes

Need to change the condition where adding deferjs attributes.

CommentFileSizeAuthor
#2 fix_deferjs_tag-3534921-2.patch1.57 KBjeetmail72

Comments

jeetmail72 created an issue. See original summary.

jeetmail72’s picture

Assigned: jeetmail72 » Unassigned
Status: Active » Needs review
StatusFileSize
new1.57 KB

Adding the defer tag instead of deferjs

shubh02’s picture

Status: Needs review » Reviewed & tested by the community

Validate the above issue on one of my ongoing projects in Drupal 10.5.1.
Patch is working fine as expected. RTBC is completed for this.

jeetmail72’s picture

Status: Reviewed & tested by the community » Fixed

Issue is fixed in the latest release

jeetmail72’s picture

Status: Fixed » Closed (fixed)