diff --git a/gui/scripts/windowman.JS b/gui/scripts/windowman.JS index 808d3e7..cfb6c67 100644 --- a/gui/scripts/windowman.JS +++ b/gui/scripts/windowman.JS @@ -50,8 +50,9 @@ class windowman { text_elements.forEach((text_element) => { let text_inserted = texts.localized( text_element.getAttribute(`data-text`), + false, text_element.hasAttribute(`data-text-parameter`) - ? eval(text_element.getAttribute(`data-text-parameter`)) + ? text_element.getAttribute(`data-text-parameter`).split(",") : null, ); if (!text_inserted) {