Skip to content

Commit c27bc10

Browse files
committed
2 parents 6be25be + 7af2605 commit c27bc10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/simpleParallax.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ export default class SimpleParallax {
168168

169169
// detach the resize event
170170
window.removeEventListener('resize', this.refresh);
171+
172+
// Reset isInit
173+
isInit = false;
171174
}
172175
}
173176
}

0 commit comments

Comments
 (0)