Răsfoiți Sursa

Bugfix, need to return the chatbox

JC Brand 9 ani în urmă
părinte
comite
7484259024
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/converse-controlbox.js

+ 1 - 1
src/converse-controlbox.js

@@ -102,7 +102,7 @@
 
 
                 getOldestMaximizedChat: function (exclude_ids) {
                 getOldestMaximizedChat: function (exclude_ids) {
                     exclude_ids.push('controlbox');
                     exclude_ids.push('controlbox');
-                    this._super.getOldestMaximizedChat.apply(this, arguments);
+                    return this._super.getOldestMaximizedChat.apply(this, arguments);
                 },
                 },
 
 
                 getChatBoxWidth: function (view) {
                 getChatBoxWidth: function (view) {