Remove window.config in favor of window.getXXX() accessors
This commit is contained in:
parent
d5ead799ce
commit
1c23c6a9d7
10 changed files with 45 additions and 49 deletions
|
@ -62,11 +62,10 @@
|
|||
|
||||
if (newUnreadCount > 0) {
|
||||
window.setBadgeCount(newUnreadCount);
|
||||
window.document.title =
|
||||
window.config.title + ' (' + newUnreadCount + ')';
|
||||
window.document.title = window.getTitle() + ' (' + newUnreadCount + ')';
|
||||
} else {
|
||||
window.setBadgeCount(0);
|
||||
window.document.title = window.config.title;
|
||||
window.document.title = window.getTitle();
|
||||
}
|
||||
window.updateTrayIcon(newUnreadCount);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue