mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Add cmd interface
This commit is contained in:
parent
17669b7be0
commit
e6e1a19477
22 changed files with 540 additions and 111 deletions
|
|
@ -1239,10 +1239,10 @@ let
|
|||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {function} themeTrigger
|
||||
* @param {function=} themeTrigger = noop
|
||||
* @returns {void}
|
||||
*/
|
||||
export function changeTheme(value, themeTrigger)
|
||||
export function changeTheme(value, themeTrigger = noop)
|
||||
{
|
||||
const
|
||||
themeLink = $('#app-theme-link'),
|
||||
|
|
@ -1272,6 +1272,7 @@ export function changeTheme(value, themeTrigger)
|
|||
}
|
||||
|
||||
window.clearTimeout(__themeTimer);
|
||||
|
||||
themeTrigger(SaveSettingsStep.Animate);
|
||||
|
||||
if (__themeAjax && __themeAjax.abort)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue