From 70aeea3db16553ba6076138e95888b6856fa5016 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 19 Jul 2017 05:27:37 +0200 Subject: [PATCH] Fixed incorrect loading state --- scripts/AnimeNotifier.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/AnimeNotifier.ts b/scripts/AnimeNotifier.ts index d44ce36c..50c58e6e 100644 --- a/scripts/AnimeNotifier.ts +++ b/scripts/AnimeNotifier.ts @@ -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) {