From 1020d7dcc6bfdd47221888e9ac116eca5a866117 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 7 Nov 2017 09:29:34 +0100 Subject: [PATCH] Fixed wrong title --- scripts/AnimeNotifier.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/AnimeNotifier.ts b/scripts/AnimeNotifier.ts index 2e899ae9..db10d8f8 100644 --- a/scripts/AnimeNotifier.ts +++ b/scripts/AnimeNotifier.ts @@ -155,7 +155,7 @@ export class AnimeNotifier { // Apply page title let headers = document.getElementsByTagName("h1") - if(this.app.currentPath === "/" || headers.length === 0) { + if(this.app.currentPath === "/" || headers.length === 0 || headers[0].innerText === "NOTIFY.MOE") { if(document.title !== this.title) { document.title = this.title }