소스 검색

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();
                 }