mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
...
This commit is contained in:
parent
bba090a7b3
commit
a6b10869cf
@ -163,7 +163,7 @@ def add_color_scheme(ev):
|
||||
|
||||
key = '*' + name
|
||||
sd = get_session_data()
|
||||
ucs = sd.get('user_color_schemes')
|
||||
ucs = Object.assign({}, sd.get('user_color_schemes'))
|
||||
ucs[key] = {'name':name, 'foreground':colors.fg, 'background':colors.bg}
|
||||
if div.querySelector('input[name=link_color_type]:checked').value is 'custom':
|
||||
ucs[key].link = colors.link
|
||||
|
Loading…
x
Reference in New Issue
Block a user