Prevent # being added to URL when minimizing
This commit is contained in:
parent
2af93f4492
commit
804c78de81
@ -246,7 +246,8 @@ converse.plugins.add('converse-minimize', {
|
||||
* Minimizes a chat box.
|
||||
* @returns {_converse.ChatBoxView|_converse.ChatRoomView}
|
||||
*/
|
||||
minimize () {
|
||||
minimize (ev) {
|
||||
if (ev && ev.preventDefault) { ev.preventDefault(); }
|
||||
this.model.minimize();
|
||||
return this;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user