Fix variable name error in indicator sets
This commit is contained in:
parent
73cc871a5e
commit
78953848bb
|
@ -67,14 +67,14 @@
|
|||
}
|
||||
|
||||
const createIntersectionCallback = idx => entries => {
|
||||
if (callbackCount >= observers.length) {
|
||||
if (callbackCount >= intersectionObservers.length) {
|
||||
return
|
||||
}
|
||||
nextState.indicators[idx].visible =
|
||||
nextState.indicators[idx].insideModal ||
|
||||
nextState.indicators[idx].insideSidePanel ||
|
||||
entries[0].isIntersecting
|
||||
if (++callbackCount === observers.length) {
|
||||
if (++callbackCount === intersectionObservers.length) {
|
||||
state = nextState
|
||||
updating = false
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue