using space indentation instead of tab
This commit is contained in:
parent
76d2a0fcd9
commit
1715e8fa7f
|
@ -3,8 +3,8 @@ runAfterLoad(() => {
|
||||||
}, ".*");
|
}, ".*");
|
||||||
|
|
||||||
function displayNotificationsInTitle(){
|
function displayNotificationsInTitle(){
|
||||||
let menu = document.getElementById('materialize-menu-dropdown');
|
let menu = document.getElementById('materialize-menu-dropdown');
|
||||||
let menuDropdowns = Array.from(menu.querySelectorAll('ul.dropdown')).slice(-1)[0];
|
let menuDropdowns = Array.from(menu.querySelectorAll('ul.dropdown')).slice(-1)[0];
|
||||||
let notificationText = menuDropdowns.innerText.split(" ")[3];
|
let notificationText = menuDropdowns.innerText.split(" ")[3];
|
||||||
document.querySelector('head > title').insertAdjacentText('afterbegin', notificationText.split(" ")[1] + ' ');
|
document.querySelector('head > title').insertAdjacentText('afterbegin', notificationText.split(" ")[1] + ' ');
|
||||||
}
|
}
|
|
@ -23,7 +23,7 @@
|
||||||
"js": [
|
"js": [
|
||||||
"enhancements/quickSearch.js",
|
"enhancements/quickSearch.js",
|
||||||
"enhancements/animeRequests.js",
|
"enhancements/animeRequests.js",
|
||||||
"enhancements/notifications.js"
|
"enhancements/notifications.js"
|
||||||
],
|
],
|
||||||
"run_at": "document_end"
|
"run_at": "document_end"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue