Fix activating deactivated tab

This commit is contained in:
Eduard Kuzmenko 2022-02-09 19:10:19 +04:00
parent 15a56b8920
commit 2707232a03

View File

@ -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();
});