fix event prevention on chat restore
This commit is contained in:
parent
946801581e
commit
6addfdabb0
@ -3085,10 +3085,14 @@
|
||||
return this;
|
||||
},
|
||||
|
||||
restore: _.debounce(function (ev) {
|
||||
restore: function(ev) {
|
||||
if (ev && ev.preventDefault) {
|
||||
ev.preventDefault();
|
||||
}
|
||||
this._restore();
|
||||
},
|
||||
|
||||
_restore: _.debounce(function () {
|
||||
this.remove();
|
||||
this.model.maximize();
|
||||
}, 200)
|
||||
|
Loading…
Reference in New Issue
Block a user