mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-07 23:30:02 +01:00
invoking the proper ACE Editor mode
This commit is contained in:
@@ -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 || {};
|
||||
|
||||
Reference in New Issue
Block a user