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);