2
0
Эх сурвалжийг харах

Call minimize() not hide() when minimizing

JC Brand 9 жил өмнө
parent
commit
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();
                 }