mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Drop bootstrap modal.less by using <dialog> <header> and <footer>
https://snappymail.eu/demo/ updated for testing
This commit is contained in:
parent
880d4a05e9
commit
6170de5aee
70 changed files with 1521 additions and 1709 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { Scope } from 'Common/Enums';
|
||||
import { doc, keyScope, leftPanelDisabled, SettingsGet } from 'Common/Globals';
|
||||
import { keyScope, leftPanelDisabled, SettingsGet, elementById } from 'Common/Globals';
|
||||
import { addObservablesTo } from 'Common/Utils';
|
||||
import { ThemeStore } from 'Stores/Theme';
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ AppUserStore.focusedState.subscribe(value => {
|
|||
break;
|
||||
}
|
||||
['FolderList','MessageList','MessageView'].forEach(name => {
|
||||
let dom = doc.querySelector('.RL-Mail'+name);
|
||||
let dom = elementById('V-Mail'+name);
|
||||
dom && dom.classList.toggle('focused', name === value);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue