From 0efa403a688c3abc2326f1e6ee40b30c8f2f6737 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 13 Oct 2017 13:12:48 -0400 Subject: [PATCH] invoking the proper ACE Editor mode --- public/src/admin/appearance/customise.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/admin/appearance/customise.js b/public/src/admin/appearance/customise.js index b9abf899c2..86894f0d63 100644 --- a/public/src/admin/appearance/customise.js +++ b/public/src/admin/appearance/customise.js @@ -23,7 +23,7 @@ define('admin/appearance/customise', ['admin/settings', 'ace/ace'], function (Se }); customJS.setTheme('ace/theme/twilight'); - customJS.getSession().setMode('ace/mode/js'); + customJS.getSession().setMode('ace/mode/javascript'); customJS.on('change', function () { app.flags = app.flags || {};