diff options
author | crupest <crupest@outlook.com> | 2021-06-04 15:05:36 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-04 15:05:36 +0800 |
commit | 924e420dbcda5a8658f65dcb98a9140c97f52cd2 (patch) | |
tree | b142661bf33cc3312db7427484cd2fe77af9cd5f /FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts | |
parent | 5a96a88121f3ecb846c5cd55c3f51624b4e21402 (diff) | |
download | timeline-924e420dbcda5a8658f65dcb98a9140c97f52cd2.tar.gz timeline-924e420dbcda5a8658f65dcb98a9140c97f52cd2.tar.bz2 timeline-924e420dbcda5a8658f65dcb98a9140c97f52cd2.zip |
chore: Remove debug logs.
Diffstat (limited to 'FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts')
-rw-r--r-- | FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts b/FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts index a97d7660..a5812808 100644 --- a/FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts +++ b/FrontEnd/src/app/utilities/useReverseScrollPositionRemember.ts @@ -41,9 +41,6 @@ const scrollListener = (): void => { reverseScrollToPosition != null && Math.abs(window.scrollY - reverseScrollToPosition) > 50 ) { - console.log( - `Reverse scroll position coerce. Required: ${reverseScrollToPosition}. Actual: ${window.scrollY}.` - ); scrollToReverseScrollPosition(reverseScrollPosition); return; } @@ -51,9 +48,6 @@ const scrollListener = (): void => { reverseScrollToPosition == null && Math.abs(window.scrollY - lastScrollPosition) > 1000 ) { - console.log( - `Scroll jump detected. New: ${window.scrollY}. Old: ${lastScrollPosition}.` - ); scrollToReverseScrollPosition(reverseScrollPosition); return; } |