(js) Fix error when visiting the Preferences

This commit is contained in:
Francis Lachapelle
2016-06-01 14:00:41 -04:00
parent 99e8c42a87
commit b008e220fe
@@ -157,7 +157,8 @@
_visit(_this.$mailboxes);
}
}
_this.$expanded |= (Account.$accounts.length == 1); // Always expand single account
if (Account.$accounts)
_this.$expanded |= (Account.$accounts.length == 1); // Always expand single account
_this.$flattenMailboxes({reload: true});
});