From 2d36b0762459b8edfc1529827d0c15447edd2669 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 22 Oct 2023 15:28:32 +0200 Subject: typo --- src/log.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/log.ts') diff --git a/src/log.ts b/src/log.ts index e99004e..3916520 100644 --- a/src/log.ts +++ b/src/log.ts @@ -14,7 +14,7 @@ export class Logger { }, private reverse = false, private timeout = 3000, - private animation_dduration = 1000, + private animation_duration = 1000, ) { } @@ -33,8 +33,8 @@ export class Logger { el.classList.add("jsh-log-line-disappear") setTimeout(() => { this.element.removeChild(el) - }, this.animation_dduration) - }, this.timeout + this.animation_dduration) + }, this.animation_duration) + }, this.timeout + this.animation_duration) } log_persistent(value: T): () => void { const el = this.add(value) @@ -43,7 +43,7 @@ export class Logger { el.classList.add("jsh-log-line-disappear") setTimeout(() => { this.element.removeChild(el) - }, this.animation_dduration) + }, this.animation_duration) } } } -- cgit v1.2.3-70-g09d2