Fix #683 - Disabling authorship colors doesn't work
parent
34a2f8cb5d
commit
7a09d97731
|
@ -98,7 +98,8 @@ var padeditor = (function()
|
||||||
v = getOption('showAuthorColors', true);
|
v = getOption('showAuthorColors', true);
|
||||||
self.ace.setProperty("showsauthorcolors", v);
|
self.ace.setProperty("showsauthorcolors", v);
|
||||||
padutils.setCheckbox($("#options-colorscheck"), v);
|
padutils.setCheckbox($("#options-colorscheck"), v);
|
||||||
// Override from parameters
|
// Override from parameters if true
|
||||||
|
if (settings.noColors !== false)
|
||||||
self.ace.setProperty("showsauthorcolors", !settings.noColors);
|
self.ace.setProperty("showsauthorcolors", !settings.noColors);
|
||||||
|
|
||||||
v = getOption('useMonospaceFont', false);
|
v = getOption('useMonospaceFont', false);
|
||||||
|
|
Loading…
Reference in New Issue