Selaa lähdekoodia

Merge pull request #586 from diditopher/patch-1

Fix for issue #261
JC Brand 9 vuotta sitten
vanhempi
commit
875a05e0a5
2 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 3 0
      converse.js
  2. 1 0
      docs/CHANGES.md

+ 3 - 0
converse.js

@@ -2555,6 +2555,9 @@
                 if (this.model.get('connected')) {
                     this.initRoster();
                 }
+                if (typeof this.model.get('closed')==='undefined') {
+                    this.model.set('closed', !converse.show_controlbox_by_default);
+                }
                 if (!this.model.get('closed')) {
                     this.show();
                 } else {

+ 1 - 0
docs/CHANGES.md

@@ -2,6 +2,7 @@
 
 ## 0.10.2 (Unreleased)
 
+- #261 show_controlbox_by_default config not working [diditopher]
 - #573 xgettext build error: `'javascript' unknown`
 
 ## 0.10.1 (2016-02-06)