Fix some corner casese with last seen indicator
* Remove increment behavior * Dismiss when new messages arrive but the window is focused * Update the indicator when window becomes focused. // FREEBIE
This commit is contained in:
parent
bb468e7b01
commit
017bb56cca
3 changed files with 2 additions and 16 deletions
|
@ -13,11 +13,6 @@
|
|||
this.count = options.count || 0;
|
||||
},
|
||||
|
||||
increment: function(count) {
|
||||
this.count += count;
|
||||
this.render();
|
||||
},
|
||||
|
||||
render_attributes: function() {
|
||||
var unreadMessages = this.count === 1 ? i18n('unreadMessage')
|
||||
: i18n('unreadMessages', [this.count]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue