mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-12 15:48:40 +00:00
fix tests
This commit is contained in:
parent
1ba8df3efa
commit
de9aa6ded2
|
|
@ -129,7 +129,7 @@ export class Form
|
||||||
let length = 0;
|
let length = 0;
|
||||||
|
|
||||||
// bind form clicks
|
// bind form clicks
|
||||||
const toBind = this.forms[id].getElementsToBind();
|
const toBind = this.forms[id].getElementsToBind();
|
||||||
const toBindLength = toBind.length;
|
const toBindLength = toBind.length;
|
||||||
|
|
||||||
for (let i = 0; i < toBindLength; ++i) {
|
for (let i = 0; i < toBindLength; ++i) {
|
||||||
|
|
|
||||||
|
|
@ -119,8 +119,8 @@ export class GeneralUI
|
||||||
document.write(html);
|
document.write(html);
|
||||||
document.close();
|
document.close();
|
||||||
*/
|
*/
|
||||||
|
// @todo: fix memory leak which most likely exists because of continous binding without removing binds
|
||||||
window.omsApp.reInit(); // @todo: fix memory leak which most likely exists because of continous binding without removing binds
|
window.omsApp.reInit();
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.warn(error);
|
console.warn(error);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user