Fixed incorrect loading state

This commit is contained in:
Eduard Urbach 2017-07-19 05:27:37 +02:00
parent 197ef0197a
commit 70aeea3db1

View File

@ -352,6 +352,7 @@ export class AnimeNotifier {
Diff.root(document.documentElement, html)
})
.then(() => this.app.emit("DOMContentLoaded"))
.then(() => this.loading(false)) // Because our loading element gets reset due to full page diff
}
loading(isLoading: boolean) {