Add logging for clearing taskbar attention
// FREEBIE
This commit is contained in:
parent
4f3d1ed55a
commit
d121effe3b
2 changed files with 2 additions and 1 deletions
|
@ -132,6 +132,7 @@
|
|||
},
|
||||
|
||||
drawAttention: function(window_id) {
|
||||
console.log('draw attention');
|
||||
if (chrome.app.window) {
|
||||
var w = chrome.app.window.get(window_id);
|
||||
w.clearAttention();
|
||||
|
@ -140,6 +141,7 @@
|
|||
},
|
||||
|
||||
clearAttention: function(window_id) {
|
||||
console.log('clear attention');
|
||||
if (chrome.app.window) {
|
||||
var w = chrome.app.window.get(window_id);
|
||||
w.clearAttention();
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
window.drawAttention = function() {
|
||||
if (inboxOpened && !inboxFocused) {
|
||||
console.log('draw attention');
|
||||
extension.windows.drawAttention(inboxWindowId);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue