Fix activating deactivated tab
This commit is contained in:
parent
15a56b8920
commit
2707232a03
@ -296,7 +296,7 @@ export class AppImManager {
|
||||
|
||||
document.body.classList.add('deactivated');
|
||||
|
||||
(popup as any).onClose = () => {
|
||||
popup.addEventListener('close', () => {
|
||||
document.body.classList.add('deactivated-backwards');
|
||||
|
||||
singleInstance.activateInstance();
|
||||
@ -304,7 +304,7 @@ export class AppImManager {
|
||||
setTimeout(() => {
|
||||
document.body.classList.remove('deactivated', 'deactivated-backwards');
|
||||
}, 333);
|
||||
};
|
||||
});
|
||||
|
||||
popup.show();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user