From ac06811a93133455845405c5e5a6810beacff44b Mon Sep 17 00:00:00 2001 From: Christian Weimann Date: Sun, 13 Aug 2023 15:30:57 +0200 Subject: [PATCH] Cleanup --- utils/watch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/watch.js b/utils/watch.js index bf7a068..236a6f5 100644 --- a/utils/watch.js +++ b/utils/watch.js @@ -163,9 +163,9 @@ class Watch { this.#watchObjects[watchUUID].alert = false; // Run end alert function if existing - if (this.#watchObjects[watchUUID]. endAlertFunc != '') { + if (this.#watchObjects[watchUUID].endAlertFunc != '') { console.log('Run end alert function for watchObject ' + watchUUID); - this.#watchObjects[watchUUID]. endAlertFunc(); + this.#watchObjects[watchUUID].endAlertFunc(); } // End repeatAlertTimer if existing