Fix group visibility on page load.

Close #374
This commit is contained in:
Florian Cargoët 2015-04-17 17:02:16 +02:00
parent 2ede031c27
commit 8b695be4d7

View File

@ -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(); }
}