Multiple bind
Restoring a chatbox wasnt unbinding event then the unread counter for a chatbox was multiply by the time you minized it.
This commit is contained in:
parent
c9e031e1c6
commit
9a8d1921c7
@ -3079,6 +3079,7 @@
|
|||||||
if (ev && ev.preventDefault) {
|
if (ev && ev.preventDefault) {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
}
|
}
|
||||||
|
this.model.messages.off('add',null,this);
|
||||||
this.remove();
|
this.remove();
|
||||||
this.model.maximize();
|
this.model.maximize();
|
||||||
}, 200)
|
}, 200)
|
||||||
|
Loading…
Reference in New Issue
Block a user