Deferring JS breaks album layout
-
When deferring JS for performance reasons, the inline scripts used by SFBA won’t be able to execute correctly. Because of this, the layout of the album is never correct. In the example site I have had to turn off deferred JS, since it breaks the site.
This could be fixed by having an external script file that is enqueued properly, to be sure it loads after jQuery. Since deferring JS is common for optimization, this would be very nice to have for SFBA.
Thanks!
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Deferring JS breaks album layout’ is closed to new replies.