(js) Fix error when visiting the Preferences

This commit is contained in:
Francis Lachapelle committed 2016-06-01 14:00:41 -04:00
1 parent 99e8c42a87
commit b008e220fe
1 file changed
+2 -1
@@ -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});
});