Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: window.scroll is not a function #126

Open
Nilpohc opened this issue Sep 30, 2023 · 0 comments
Open

Uncaught TypeError: window.scroll is not a function #126

Nilpohc opened this issue Sep 30, 2023 · 0 comments

Comments

@Nilpohc
Copy link

Nilpohc commented Sep 30, 2023

Hi there,

This happens every time the detailed popin window is closed (using close button or clicking outside the window).

Indeed, the off() function of the index.js calls window.scroll(0, scrollTop), instead of window.scrollTo(0, scrollTop).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant