From d121effe3bb67ce1e9a223eb20db6714129b3466 Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 23 Feb 2016 12:41:21 -0800 Subject: [PATCH] Add logging for clearing taskbar attention // FREEBIE --- js/chromium.js | 2 ++ js/panel_controller.js | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/chromium.js b/js/chromium.js index abfc65f5..3f67a39f 100644 --- a/js/chromium.js +++ b/js/chromium.js @@ -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(); diff --git a/js/panel_controller.js b/js/panel_controller.js index efae7ef6..08b840c3 100644 --- a/js/panel_controller.js +++ b/js/panel_controller.js @@ -19,7 +19,6 @@ window.drawAttention = function() { if (inboxOpened && !inboxFocused) { - console.log('draw attention'); extension.windows.drawAttention(inboxWindowId); } };