Skip to content

Commit a31fb6e

Browse files
committed
fix: oops
1 parent 96a7062 commit a31fb6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/pfe-core/controllers/scroll-spy-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class ScrollSpyController implements ReactiveController {
3535
static #instances = new Set<ScrollSpyController>;
3636

3737
static {
38-
if (isServer) {
38+
if (!isServer) {
3939
addEventListener('scroll', () => {
4040
if (Math.round(window.innerHeight + window.scrollY) >= document.body.scrollHeight) {
4141
this.#instances.forEach(ssc => {

0 commit comments

Comments
 (0)