Problem/Motivation
When Slick is configured to use Accessible Slick, some pages that use Slick can throw:
Uncaught ReferenceError: dBlazy is not defined (from slick.load.min.js)
This happens because slick.load ends up running without blazy/dblazy being loaded first.
Steps to reproduce
- Enable Slick and Blazy.
- Configure Slick to use Accessible Slick (slick.settings: library: accessible-slick).
- View a page that initializes Slick using slick.load (for us this shows up on node preview).
- Open the browser console.
Proposed resolution
dblazy.min.js (which defines dBlazy) should load before slick.load.min.js, so Slick initializes without errors.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork slick-3582440
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
gausarts commentedThank you.
Patches are welcome.
Comment #5
gausarts commented