Move clear/drawAttention logging up a level to reduce verbosity

FREEBIE
pull/749/head
Scott Nonnenberg 8 years ago
parent f26b9f359c
commit 76a69f7511
No known key found for this signature in database
GPG Key ID: A4931C09644C654B

@ -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) {
@ -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) {

@ -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;

Loading…
Cancel
Save