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
|
@ -9,10 +9,4 @@ describe('LastSeenIndicatorView', function() {
|
|||
assert.equal(view.count, 10);
|
||||
});
|
||||
|
||||
it('increments count', function() {
|
||||
var view = new Whisper.LastSeenIndicatorView({count: 4});
|
||||
assert.equal(view.count, 4);
|
||||
view.increment(3);
|
||||
assert.equal(view.count, 7);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue