Commit 804c78de authored by JC Brand's avatar JC Brand

Prevent # being added to URL when minimizing

parent 2af93f44
......@@ -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;
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment