Fixed wrong title
This commit is contained in:
parent
8587a16935
commit
1020d7dcc6
@ -155,7 +155,7 @@ export class AnimeNotifier {
|
|||||||
// Apply page title
|
// Apply page title
|
||||||
let headers = document.getElementsByTagName("h1")
|
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) {
|
if(document.title !== this.title) {
|
||||||
document.title = this.title
|
document.title = this.title
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user