Bugfix: Translator append() should be appendChild()

This commit is contained in:
djmaze 2020-08-31 11:31:35 +02:00
parent 5e7b567e88
commit 4977494f6b

View file

@ -264,7 +264,7 @@ export function reload(admin, language) {
.then(data => {
var script = doc.createElement('script');
script.text = data;
doc.head.append(script).remove();
doc.head.appendChild(script).remove();
setTimeout(
() => {
reloadData();