diff --git a/site/plugins/admin/views/partials/codemirror.html b/site/plugins/admin/views/partials/codemirror.html index 9fc5fd52..54ea086b 100644 --- a/site/plugins/admin/views/partials/codemirror.html +++ b/site/plugins/admin/views/partials/codemirror.html @@ -19,9 +19,9 @@ mode: "application/x-httpd-php", {% endif %} indentWithTabs: false, - {% if registry.settings.admin_panel.theme == light %} + {% if registry.settings.admin_panel.theme == 'light' %} theme: "elegant", - {% elseif registry.settings.admin_panel.theme == dark %} + {% elseif registry.settings.admin_panel.theme == 'dark' %} theme: "monokai", {% endif %} styleActiveLine: true,