ui: small style cleanups/refactoring
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -21,9 +21,7 @@ Ext.define('PBS.DataStorePanel', {
|
||||
me.setActiveTab(state.tab);
|
||||
} else if (state.tab) {
|
||||
// if we are not rendered yet, defer setting the activetab
|
||||
setTimeout(function() {
|
||||
me.setActiveTab(state.tab);
|
||||
}, 10);
|
||||
setTimeout(() => me.setActiveTab(state.tab), 10);
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user