From 2374cf41f83f27faf47f13436a7bfa9e1e40b7a2 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Fri, 29 Jan 2021 09:51:45 +0100 Subject: [PATCH] :bug: Fixed problem with timers --- frontend/src/app/util/timers.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/util/timers.cljs b/frontend/src/app/util/timers.cljs index a7afaff2b..efe5cb934 100644 --- a/frontend/src/app/util/timers.cljs +++ b/frontend/src/app/util/timers.cljs @@ -43,7 +43,7 @@ (def ^:private cancel-idle-callback #(js/cancelIdleCallback %))) (do (def ^:private request-idle-callback #(js/setTimeout % 100)) - (def ^:private cancel-idle-callback #(js/cancelTimeout %)))) + (def ^:private cancel-idle-callback #(js/clearTimeout %)))) (defn schedule-on-idle [func]