diff --git a/scripts/AnimeNotifier.ts b/scripts/AnimeNotifier.ts index 71e8a660..ed691ee5 100644 --- a/scripts/AnimeNotifier.ts +++ b/scripts/AnimeNotifier.ts @@ -212,9 +212,9 @@ export class AnimeNotifier { let type = element.dataset.mountableType || "general" if(type in mountableTypes) { - time = mountableTypes[element.dataset.mountableType] += delay + time = mountableTypes[type] += delay } else { - time = mountableTypes[element.dataset.mountableType] = 0 + time = mountableTypes[type] = 0 } if(time > maxDelay) {