aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/log.ts8
1 files changed, 4 insertions, 4 deletions
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<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)
}
}
}