aboutsummaryrefslogtreecommitdiff
path: root/src/Utils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-05-15 07:18:48 -0400
committerbobzel <zzzman@gmail.com>2024-05-15 07:18:48 -0400
commit9e40cc8cf9e6ebbe44fa0f600fb1b134d14cd827 (patch)
tree145487384631b73ebf1874d4de7e286f78f54c1e /src/Utils.ts
parentabee48dc3b25661aef82bdbf0dd0b78262fcecf4 (diff)
remove unused
Diffstat (limited to 'src/Utils.ts')
-rw-r--r--src/Utils.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Utils.ts b/src/Utils.ts
index 3b46f64f1..291d7c799 100644
--- a/src/Utils.ts
+++ b/src/Utils.ts
@@ -632,7 +632,6 @@ const easeFunc = (transition: 'ease' | 'linear' | undefined, currentTime: number
};
export function smoothScroll(duration: number, element: HTMLElement | HTMLElement[], to: number, transition: 'ease' | 'linear' | undefined, stopper?: () => void) {
- console.log('smooth scroll');
stopper?.();
const elements = element instanceof HTMLElement ? [element] : element;
const starts = elements.map(element => element.scrollTop);