浏览代码

Call minimize() not hide() when minimizing

JC Brand 9 年之前
父节点
当前提交
8b30c60592
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/converse-core.js

+ 2 - 2
src/converse-core.js

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