Draw attention to windows on new messages
This commit is contained in:
@@ -141,6 +141,12 @@
|
||||
} else {
|
||||
window.addEventListener('beforeunload', callback);
|
||||
}
|
||||
},
|
||||
|
||||
drawAttention: function(window_id) {
|
||||
if (chrome.app.window) {
|
||||
chrome.app.window.get(window_id).drawAttention();
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user