Add logging for clearing taskbar attention

// FREEBIE
This commit is contained in:
lilia 2016-02-23 12:41:21 -08:00
parent 4f3d1ed55a
commit d121effe3b
2 changed files with 2 additions and 1 deletions

View file

@ -132,6 +132,7 @@
}, },
drawAttention: function(window_id) { drawAttention: function(window_id) {
console.log('draw attention');
if (chrome.app.window) { if (chrome.app.window) {
var w = chrome.app.window.get(window_id); var w = chrome.app.window.get(window_id);
w.clearAttention(); w.clearAttention();
@ -140,6 +141,7 @@
}, },
clearAttention: function(window_id) { clearAttention: function(window_id) {
console.log('clear attention');
if (chrome.app.window) { if (chrome.app.window) {
var w = chrome.app.window.get(window_id); var w = chrome.app.window.get(window_id);
w.clearAttention(); w.clearAttention();

View file

@ -19,7 +19,6 @@
window.drawAttention = function() { window.drawAttention = function() {
if (inboxOpened && !inboxFocused) { if (inboxOpened && !inboxFocused) {
console.log('draw attention');
extension.windows.drawAttention(inboxWindowId); extension.windows.drawAttention(inboxWindowId);
} }
}; };