mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-19 02:15:36 +00:00
(js) Remove hack when toggling mail accounts
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user