From 81d4766c1a1f7d39e608211c09034826a01ced32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 15 Jan 2018 10:56:25 -0500 Subject: [PATCH] closes #6236 --- public/language/en-GB/admin/appearance/customise.json | 6 +++--- public/src/admin/appearance/customise.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/language/en-GB/admin/appearance/customise.json b/public/language/en-GB/admin/appearance/customise.json index 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.js index 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 (Se var 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 || {};