Skip to content

Commit

Permalink
fix (theme): js Animation class method vs property
Browse files Browse the repository at this point in the history
  • Loading branch information
n-langle committed Sep 13, 2024
1 parent 5d5f9ac commit a10a255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/classes/Animation.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class Animation extends AbstractDomElement {
scrollObserver.unobserve(el)
resize.remove('resize', this._onResize)

if (!scrollObserver.hasEntry) {
if (!scrollObserver.hasEntry()) {
scrollObserver = scrollObserver.destroy()
resize = resize.destroy()
}
Expand Down

0 comments on commit a10a255

Please sign in to comment.