Call minimize() not hide() when minimizing

This commit is contained in:
JC Brand 2016-03-09 10:00:11 +00:00
parent ce9008a56a
commit 8b30c60592

View File

@ -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 @@
onMinimizedChanged: function (item) { onMinimizedChanged: function (item) {
if (item.get('minimized')) { if (item.get('minimized')) {
this.hide(); this.minimize();
} else { } else {
this.maximize(); this.maximize();
} }