diff --git a/martor/static/martor/js/martor.js b/martor/static/martor/js/martor.js index 9dcec59f51..08415111e8 100644 --- a/martor/static/martor/js/martor.js +++ b/martor/static/martor/js/martor.js @@ -54,7 +54,7 @@ var editorConfig = JSON.parse(textareaId.data('enable-configs').replace(/'/g, '"')); if (darkMode) { - mainMartor.find('.ui').toggleClass('inverted'); + mainMartor.find('.ui').addClass('inverted'); } editor.setTheme('ace/theme/' + ace_theme);