From de9aa6ded2ec8ce7aed002e77356c6f9d01c43b6 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 8 Oct 2022 21:35:01 +0200 Subject: [PATCH] fix tests --- UI/Component/Form.js | 2 +- UI/GeneralUI.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UI/Component/Form.js b/UI/Component/Form.js index 1d5c796..b05657b 100755 --- a/UI/Component/Form.js +++ b/UI/Component/Form.js @@ -129,7 +129,7 @@ export class Form let length = 0; // bind form clicks - const toBind = this.forms[id].getElementsToBind(); + const toBind = this.forms[id].getElementsToBind(); const toBindLength = toBind.length; for (let i = 0; i < toBindLength; ++i) { diff --git a/UI/GeneralUI.js b/UI/GeneralUI.js index feee69a..2be2d8c 100755 --- a/UI/GeneralUI.js +++ b/UI/GeneralUI.js @@ -119,8 +119,8 @@ export class GeneralUI document.write(html); document.close(); */ - - window.omsApp.reInit(); // @todo: fix memory leak which most likely exists because of continous binding without removing binds + // @todo: fix memory leak which most likely exists because of continous binding without removing binds + window.omsApp.reInit(); }) .catch((error) => { console.warn(error);