File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -251,23 +251,23 @@ function interactionHandler(event: Event): void {
251
251
252
252
const intersectionObserver = ! ! window . IntersectionObserver
253
253
? new IntersectionObserver (
254
- ( entries ) => {
255
- for ( const entry of entries ) {
256
- if ( entry . isIntersecting ) {
257
- const node = entry . target ;
258
- if ( node instanceof HTMLElement ) {
259
- logEvent ( getEvent ( "Impression" , node ) , node ) ;
260
- if ( intersectionObserver ) {
261
- intersectionObserver . unobserve ( node ) ;
254
+ ( entries ) => {
255
+ for ( const entry of entries ) {
256
+ if ( entry . isIntersecting ) {
257
+ const node = entry . target ;
258
+ if ( node instanceof HTMLElement ) {
259
+ logEvent ( getEvent ( "Impression" , node ) , node ) ;
260
+ if ( intersectionObserver ) {
261
+ intersectionObserver . unobserve ( node ) ;
262
+ }
262
263
}
263
264
}
264
265
}
265
- }
266
- } ,
267
- {
268
- threshold : INTERSECTION_THRESHOLD ,
269
- } ,
270
- )
266
+ } ,
267
+ {
268
+ threshold : INTERSECTION_THRESHOLD ,
269
+ } ,
270
+ )
271
271
: undefined ;
272
272
273
273
const PRODUCT_SELECTOR =
You can’t perform that action at this time.
0 commit comments