mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 00:37:54 +02:00
Make the code compatible with es5
This commit is contained in:
@ -336,7 +336,7 @@ var et2_htmlarea = (function(){ "use strict"; return et2_editableWidget.extend([
|
||||
var toolbar_diff = et2_htmlarea.TOOLBAR_LIST.filter(function(i){return !(rte_toolbar.indexOf(i) > -1);});
|
||||
settings.toolbar = et2_htmlarea.TOOLBAR_ADVANCED;
|
||||
toolbar_diff.forEach(function(a){
|
||||
let r = new RegExp(a);
|
||||
var r = new RegExp(a);
|
||||
settings.toolbar = settings.toolbar.replace(r, '');
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user