Add logging for clearing taskbar attention
// FREEBIE
This commit is contained in:
@@ -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();
|
||||||
|
@@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user