mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Drop rl.settings.capa
This commit is contained in:
parent
671062af31
commit
071b2c1153
2 changed files with 4 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ export const
|
||||||
|
|
||||||
Settings = rl.settings,
|
Settings = rl.settings,
|
||||||
SettingsGet = Settings.get,
|
SettingsGet = Settings.get,
|
||||||
SettingsCapa = Settings.capa,
|
SettingsCapa = name => name && !!(SettingsGet('Capa') || {})[name],
|
||||||
|
|
||||||
dropdowns = [],
|
dropdowns = [],
|
||||||
dropdownVisibility = ko.observable(false).extend({ rateLimit: 0 }),
|
dropdownVisibility = ko.observable(false).extend({ rateLimit: 0 }),
|
||||||
|
|
|
||||||
|
|
@ -29,12 +29,13 @@ doc.documentElement.classList.toggle('rl-mobile', 'mobile' === layout[2] || (!la
|
||||||
|
|
||||||
window.rl = {
|
window.rl = {
|
||||||
adminArea: () => admin,
|
adminArea: () => admin,
|
||||||
|
|
||||||
settings: {
|
settings: {
|
||||||
get: name => RL_APP_DATA[name],
|
get: name => RL_APP_DATA[name],
|
||||||
set: (name, value) => RL_APP_DATA[name] = value,
|
set: (name, value) => RL_APP_DATA[name] = value,
|
||||||
app: name => RL_APP_DATA.System[name],
|
app: name => RL_APP_DATA.System[name]
|
||||||
capa: name => name && !!(RL_APP_DATA.Capa || {})[name]
|
|
||||||
},
|
},
|
||||||
|
|
||||||
setWindowTitle: title =>
|
setWindowTitle: title =>
|
||||||
doc.title = RL_APP_DATA.Title ? (title ? title + ' - ' : '') + RL_APP_DATA.Title : (title ? '' + title : ''),
|
doc.title = RL_APP_DATA.Title ? (title ? title + ' - ' : '') + RL_APP_DATA.Title : (title ? '' + title : ''),
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue