Defer JavaScript breaks the layout
-
I set up LSCache according to my needs. Every page has custom <script> tag with custom JavaScript at the end of the body. These scripts change dom content dynamically. But if I enable defer Js, the custom js in the <script> doesn’t work, so the layout spoils. When I disable it everything works fine.
I think the problem is about inpage scripts that produce dynamic content. All other layout is Ok.
The broken part example: https://prnt.sc/1x8yrok
Server: hosting ER with lites peed web server
PHP 8.0
WordPress and all plugins updatedReport number: YRAAIGLN
Report date: 10/24/2021 18:09:15
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Defer JavaScript breaks the layout’ is closed to new replies.