Don't display notifications for open windows.
Just update and draw attention to them. Fixes #238 // FREEBIE
This commit is contained in:
parent
d8f17f9631
commit
3eafefe18e
2 changed files with 10 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue