File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @puzzle-js/client-lib" ,
33 "main" : " dist/index.js" ,
4- "version" : " 1.1.3 " ,
4+ "version" : " 1.1.4 " ,
55 "author" : " <emre.kul@trendyol.com>" ,
66 "license" : " MIT" ,
77 "repository" : {
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ export class Core extends Module {
186186 }
187187
188188 private static onIntersection ( changes : IntersectionObserverEntry [ ] , observer : IntersectionObserver ) {
189- changes . some ( change => {
189+ changes . forEach ( change => {
190190 if ( change . isIntersecting ) {
191191 const target = change . target ;
192192 const fragmentName = target . getAttribute ( 'puzzle-fragment' ) ;
@@ -195,7 +195,6 @@ export class Core extends Module {
195195 this . asyncLoadFragment ( fragment ) ;
196196 observer . unobserve ( target ) ;
197197 }
198- return fragment ;
199198 }
200199 } ) ;
201200 }
You can’t perform that action at this time.
0 commit comments