From 204ce39f7c2f9c405971aa59da068a5389dda417 Mon Sep 17 00:00:00 2001 From: Johannes Eder Date: Fri, 6 Aug 2021 18:39:40 +0200 Subject: [PATCH] fix(password): added cleanUP --- frontend/src/utils/async-table/async-table.js | 8 ++++---- frontend/src/utils/inputs/password.js | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/utils/async-table/async-table.js b/frontend/src/utils/async-table/async-table.js index 6ddf4536a..1734de1b1 100644 --- a/frontend/src/utils/async-table/async-table.js +++ b/frontend/src/utils/async-table/async-table.js @@ -462,10 +462,10 @@ export class AsyncTable { ).finally(() => this._element.classList.remove(ASYNC_TABLE_LOADING_CLASS)); } - //_debugLog() {} - _debugLog(fName, ...args) { - console.log(`[DEBUGLOG] AsyncTable.${fName}`, { args: args, instance: this }); - } + _debugLog() {} + //_debugLog(fName, ...args) { + // console.log(`[DEBUGLOG] AsyncTable.${fName}`, { args: args, instance: this }); + // } } diff --git a/frontend/src/utils/inputs/password.js b/frontend/src/utils/inputs/password.js index 3793598ee..0659ab57e 100644 --- a/frontend/src/utils/inputs/password.js +++ b/frontend/src/utils/inputs/password.js @@ -67,6 +67,7 @@ export class Password { } destroy() { + this._eventManager.cleanUp(); this._iconEl.remove(); this._toggleContainerEl.remove(); this._wrapperEl.remove();