Skip to content

Commit

Permalink
Move clear/drawAttention logging up a level to reduce verbosity
Browse files Browse the repository at this point in the history
FREEBIE
  • Loading branch information
scottnonnenberg committed Aug 28, 2017
1 parent f26b9f3 commit 76a69f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/chromium.js
Expand Up @@ -119,7 +119,6 @@
},

drawAttention: function(window_id) {
console.log('draw attention');
if (chrome.app.window) {
var w = chrome.app.window.get(window_id);
if (w) {
Expand All @@ -130,7 +129,6 @@
},

clearAttention: function(window_id) {
console.log('clear attention');
if (chrome.app.window) {
var w = chrome.app.window.get(window_id);
if (w) {
Expand Down
2 changes: 2 additions & 0 deletions js/panel_controller.js
Expand Up @@ -23,10 +23,12 @@
clearInterval(window.keepClear);
delete window.keepClear;
}
console.log('draw attention');
extension.windows.drawAttention(inboxWindowId);
}
};
window.clearAttention = function() {
console.log('clear attention');
if (window.keepClear) {
clearInterval(window.keepClear);
delete window.keepClear;
Expand Down

0 comments on commit 76a69f7

Please sign in to comment.