Fix the location of CKEditor’s translations
This commit is contained in:
parent
38d07fb662
commit
ca48e1d108
|
@ -78,7 +78,7 @@ ready(function () {
|
||||||
}));
|
}));
|
||||||
if (language !== 'en') {
|
if (language !== 'en') {
|
||||||
document.head.appendChild(Object.assign(document.createElement('script'), {
|
document.head.appendChild(Object.assign(document.createElement('script'), {
|
||||||
src: '/static/ckeditor5@39.0.1/translations/' + language + '.js',
|
src: '/static/ckeditor5@40.0.0/translations/' + language + '.js',
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
script.addEventListener('load', function () {
|
script.addEventListener('load', function () {
|
||||||
|
|
Loading…
Reference in New Issue