Skip to content

Commit b92a229

Browse files
committed
this -> scroll
1 parent c1f492c commit b92a229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/scroll.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class Scroll {
2929
}
3030
})
3131

32-
this.save(page)
32+
Scroll.save(page)
3333

3434
if (window.location.hash) {
3535
// We're using a setTimeout() here as a workaround for a bug in the React adapter where the
@@ -63,7 +63,7 @@ export class Scroll {
6363
const target = event.target as Element
6464

6565
if (typeof target.hasAttribute === 'function' && target.hasAttribute('scroll-region')) {
66-
this.save(currentPage.get())
66+
Scroll.save(currentPage.get())
6767
}
6868
}
6969
}

0 commit comments

Comments
 (0)