diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-22 15:28:32 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-22 15:28:32 +0200 |
commit | 2d36b0762459b8edfc1529827d0c15447edd2669 (patch) | |
tree | a0ddf32de8e2cef4b79864b6acb643943ef274c2 | |
parent | bd8b233316820cd35178085ef132f82279be0504 (diff) | |
download | jshelper-2d36b0762459b8edfc1529827d0c15447edd2669.tar jshelper-2d36b0762459b8edfc1529827d0c15447edd2669.tar.bz2 jshelper-2d36b0762459b8edfc1529827d0c15447edd2669.tar.zst |
typo
-rw-r--r-- | src/log.ts | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -14,7 +14,7 @@ export class Logger<T = HTMLElement> { }, private reverse = false, private timeout = 3000, - private animation_dduration = 1000, + private animation_duration = 1000, ) { } @@ -33,8 +33,8 @@ export class Logger<T = HTMLElement> { 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<T = HTMLElement> { el.classList.add("jsh-log-line-disappear") setTimeout(() => { this.element.removeChild(el) - }, this.animation_dduration) + }, this.animation_duration) } } } |