Reset last seen indicator timing on focus of window
FREEBIE
This commit is contained in:
parent
01918049b4
commit
9de384f3b8
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@
|
||||||
|
|
||||||
var onFocus = function() {
|
var onFocus = function() {
|
||||||
if (this.$el.css('display') !== 'none') {
|
if (this.$el.css('display') !== 'none') {
|
||||||
this.markRead();
|
this.updateUnread();
|
||||||
}
|
}
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
this.window.addEventListener('focus', onFocus);
|
this.window.addEventListener('focus', onFocus);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue