(js) Remove hack when toggling mail accounts

This commit is contained in:
Francis Lachapelle
2018-06-28 10:50:16 -04:00
parent 69ae9d752a
commit b75593e99a
@@ -143,12 +143,6 @@
this.toggleAccountState = function (account) {
account.$expanded = !account.$expanded;
account.$flattenMailboxes({ reload: true, saveState: true });
// Fire a window resize to recompute the virtual-repeater.
// This is a fix until the following issue is officially resolved:
// https://github.com/angular/material/issues/7309
$timeout(function() {
angular.element($window).triggerHandler('resize');
}, 150);
};
this.subscribe = function(account) {