Call minimize() not hide() when minimizing
This commit is contained in:
parent
ce9008a56a
commit
8b30c60592
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user