Fixed transitions

This commit is contained in:
Eduard Urbach 2017-07-02 18:05:12 +02:00
parent 326c4161aa
commit 8f3c03a5c5

View File

@ -212,9 +212,9 @@ export class AnimeNotifier {
let type = element.dataset.mountableType || "general" let type = element.dataset.mountableType || "general"
if(type in mountableTypes) { if(type in mountableTypes) {
time = mountableTypes[element.dataset.mountableType] += delay time = mountableTypes[type] += delay
} else { } else {
time = mountableTypes[element.dataset.mountableType] = 0 time = mountableTypes[type] = 0
} }
if(time > maxDelay) { if(time > maxDelay) {