Remove window.config in favor of window.getXXX() accessors
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
Reference in New Issue
Block a user