Commit 8b30c605 authored by JC Brand's avatar JC Brand

Call minimize() not hide() when minimizing

parent ce9008a5
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
"typeahead", "typeahead",
], factory); ], factory);
}(this, function ($, _, dummy, utils, moment, Strophe, templates) { }(this, function ($, _, dummy, utils, moment, Strophe, templates) {
/* /*
* Cannot use this due to Safari bug. * Cannot use this due to Safari bug.
* See https://github.com/jcbrand/converse.js/issues/196 * See https://github.com/jcbrand/converse.js/issues/196
*/ */
...@@ -2116,7 +2116,7 @@ ...@@ -2116,7 +2116,7 @@
onMinimizedChanged: function (item) { onMinimizedChanged: function (item) {
if (item.get('minimized')) { if (item.get('minimized')) {
this.hide(); this.minimize();
} else { } else {
this.maximize(); this.maximize();
} }
......
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