From 963f4fc491808443155c2f9d2619393e2c1fd777 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 9 Jan 2017 15:09:22 +0100 Subject: [PATCH] Fixed interval for idle check. --- .../app/controllers/ticket_zoom/taskbar_watcher.coffee | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/taskbar_watcher.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/taskbar_watcher.coffee index 75b03bb10..71962dffa 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/taskbar_watcher.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/taskbar_watcher.coffee @@ -51,8 +51,9 @@ class App.TaskbarWatcher extends App.Controller avatar.el.find('.avatar').append status start: => - @intervalId = @interval(=> - App.TaskManager.preferencesTrigger(@task_key) + @intervalId = @interval( + => + App.TaskManager.preferencesTrigger(@task_key) 5 * 60000 'ticket-watcher-interval' )