Version 16.1
16.1.0
Improved speed, cleaning DOM, better working destroy, and also fixed 2 bugs.
- Cleaning up
dataattributes from the DOM when finished using them (mainly when elements have finished loading) - Improved
destroymethod, which now also removes lazyload's additions to the DOM elements - Video elements are now only listening to the
loadeddataevent, no longer toload - Removed constants containing strings. I thought it would produced shorter minified code, but discovered that terser expands them to strings.
- Bugfix: when lazily loading videos, the error
_poster_ is undefinedwas thrown - Bugfix: when selecting native lazy loading, the
loadingclass was added without knowing whether or not the loading had started