From 9ba887e7cf308ff701a2654afa7a1e72597ca2ec Mon Sep 17 00:00:00 2001 From: Bogdan Pilyugin Date: Mon, 21 Aug 2023 13:23:00 +0200 Subject: [PATCH] fix callback on timeout dialog expire --- helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.js b/helpers.js index a6b6ba9..1860f65 100644 --- a/helpers.js +++ b/helpers.js @@ -29,7 +29,7 @@ function ShowDelayDialog(mess, time, onexpire) { clearInterval(interval) setTimeout(() => { dialog.hide(); - onexpire(); + () => { onexpire }; }, 350) } }, 100)