diff --git a/static/js/pad_editor.js b/static/js/pad_editor.js index d336aa874..e838ae040 100644 --- a/static/js/pad_editor.js +++ b/static/js/pad_editor.js @@ -75,8 +75,6 @@ var padeditor = (function() { pad.changeViewOption('useMonospaceFont', $("#viewfontmenu").val() == 'monospace'); }); - - settings.noColors = !settings.noColors; // Inversed so we can pass it to showauthorcolors }, setViewOptions: function(newOptions) { @@ -88,7 +86,7 @@ var padeditor = (function() return defaultValue; } - self.ace.setProperty("showsauthorcolors", settings.noColors); + self.ace.setProperty("showsauthorcolors", !settings.noColors); self.ace.setProperty("rtlIsTrue", settings.rtlIsTrue);