Skip to content

Commit

Permalink
Fix lazy loading support
Browse files Browse the repository at this point in the history
  • Loading branch information
roborourke committed Sep 11, 2024
1 parent 98b69d4 commit 43a52b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/lottie.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => 'efaebbb11ff3987526c3');
<?php return array('dependencies' => array(), 'version' => 'fe95205bcdf687c85c38');
2 changes: 1 addition & 1 deletion build/lottie.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/lottie.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ document.querySelectorAll( '[data-lottie]' ).forEach( ( lottie ) => {
if ( ! loaded && isLazy ) {
loaded = true;
dotLottie.load( {
src: breakpoint.src,
src: current.src,
} );
}

Expand Down

0 comments on commit 43a52b3

Please sign in to comment.