Node.js based forum software built for the modern web
closes #6236
Barış Soner Uşaklı81d4766c1a1f
diff --git a/public/language/en-GB/admin/appearance/customise.json b/public/language/en-GB/admin/appearance/customise.jsonindex a1220ec96d..56c11a2805 100644--- a/public/language/en-GB/admin/appearance/customise.json+++ b/public/language/en-GB/admin/appearance/customise.json@@ -1,7 +1,7 @@{- "custom-css": "Custom CSS",- "custom-css.description": "Enter your own CSS declarations here, which will be applied after all other styles.",- "custom-css.enable": "Enable Custom CSS",+ "custom-css": "Custom CSS/LESS",+ "custom-css.description": "Enter your own CSS/LESS declarations here, which will be applied after all other styles.",+ "custom-css.enable": "Enable Custom CSS/LESS","custom-js": "Custom Javascript","custom-js.description": "Enter your own javascript here. It will be executed after the page is loaded completely.",diff --git a/public/src/admin/appearance/customise.js b/public/src/admin/appearance/customise.jsindex 86894f0d63..70393a50ae 100644--- a/public/src/admin/appearance/customise.js+++ b/public/src/admin/appearance/customise.js@@ -14,7 +14,7 @@ define('admin/appearance/customise', ['admin/settings', 'ace/ace'], function (Sevar customHTML = ace.edit('customHTML');customCSS.setTheme('ace/theme/twilight');- customCSS.getSession().setMode('ace/mode/css');+ customCSS.getSession().setMode('ace/mode/less');customCSS.on('change', function () {app.flags = app.flags || {};