Explorar o código

Fix group visibility on page load.

Close #374
Florian Cargoët %!s(int64=10) %!d(string=hai) anos
pai
achega
8b695be4d7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -3978,7 +3978,7 @@
                 if (contact.showInRoster()) {
                     if (this.model.get('state') === CLOSED) {
                         if (view.$el[0].style.display !== "none") { view.$el.hide(); }
-                        if (this.$el[0].style.display === "none") { this.$el.show(); }
+                        if (!this.$el.is(':visible')) { this.$el.show(); }
                     } else {
                         if (this.$el[0].style.display !== "block") { this.show(); }
                     }