mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
centralize elementById('rl-app')
This commit is contained in:
parent
ec3e99c6ab
commit
8a8d1d756e
4 changed files with 31 additions and 32 deletions
|
|
@ -11,6 +11,8 @@ export const
|
|||
|
||||
elementById = id => doc.getElementById(id),
|
||||
|
||||
appEl = elementById('rl-app'),
|
||||
|
||||
Settings = rl.settings,
|
||||
SettingsGet = Settings.get,
|
||||
SettingsCapa = name => name && !!(SettingsGet('Capa') || {})[name],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue