Fixes #440 // FREEBIE
@ -137,6 +137,13 @@
w.clearAttention();
w.drawAttention();
}
},
clearAttention: function(window_id) {
if (chrome.app.window) {
var w = chrome.app.window.get(window_id);
};
@ -57,6 +57,7 @@
});
appWindow.contentWindow.addEventListener('focus', function() {
inboxFocused = true;
extension.windows.clearAttention(inboxWindowId);
// close the inbox if background.html is refreshed