From 4977494f6b060d789807058102a0a2eb16b790d9 Mon Sep 17 00:00:00 2001 From: djmaze Date: Mon, 31 Aug 2020 11:31:35 +0200 Subject: [PATCH] Bugfix: Translator append() should be appendChild() --- dev/Common/Translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/Common/Translator.js b/dev/Common/Translator.js index 893c023fa..1ad401e0b 100644 --- a/dev/Common/Translator.js +++ b/dev/Common/Translator.js @@ -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();