Don't display notifications for open windows.
Just update and draw attention to them. Fixes #238 // FREEBIE
This commit is contained in:
@@ -146,7 +146,9 @@
|
||||
|
||||
drawAttention: function(window_id) {
|
||||
if (chrome.app.window) {
|
||||
chrome.app.window.get(window_id).drawAttention();
|
||||
var w = chrome.app.window.get(window_id);
|
||||
w.clearAttention();
|
||||
w.drawAttention();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user