Reset last seen indicator timing on focus of window

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-05-25 11:32:57 -07:00
parent 01918049b4
commit 9de384f3b8

View file

@ -116,7 +116,7 @@
var onFocus = function() {
if (this.$el.css('display') !== 'none') {
this.markRead();
this.updateUnread();
}
}.bind(this);
this.window.addEventListener('focus', onFocus);