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');
|
document.body.classList.add('deactivated');
|
||||||
|
|
||||||
(popup as any).onClose = () => {
|
popup.addEventListener('close', () => {
|
||||||
document.body.classList.add('deactivated-backwards');
|
document.body.classList.add('deactivated-backwards');
|
||||||
|
|
||||||
singleInstance.activateInstance();
|
singleInstance.activateInstance();
|
||||||
@ -304,7 +304,7 @@ export class AppImManager {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
document.body.classList.remove('deactivated', 'deactivated-backwards');
|
document.body.classList.remove('deactivated', 'deactivated-backwards');
|
||||||
}, 333);
|
}, 333);
|
||||||
};
|
});
|
||||||
|
|
||||||
popup.show();
|
popup.show();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user