Explorar o código

Call minimize() not hide() when minimizing

JC Brand %!s(int64=9) %!d(string=hai) anos
pai
achega
8b30c60592
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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();
                 }