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

rm an extra call of getScrollTop #2

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

bcastlel
Copy link
Contributor

Greetings!

I noticed that we can access the existing scrollTop variable instead of calling getScrollTop again. I think it would be a bit better.

@smastrom
Copy link
Owner

Great, thanks! I will include it in the next release.

@smastrom smastrom merged commit be8a58c into smastrom:main Jan 27, 2024
2 checks passed
@bcastlel bcastlel deleted the no-extra-call-of-get-scroll-top branch January 27, 2024 18:13
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

Successfully merging this pull request may close these issues.

2 participants