invoking the proper ACE Editor mode

This commit is contained in:
Julian Lam
2017-10-13 13:12:48 -04:00
parent 8741f7c63c
commit 0efa403a68

View File

@@ -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 || {};