From 0e5f888681d8a69e6d7f4c8857471080b3690c3e Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Mon, 22 May 2017 17:24:56 -0400 Subject: [PATCH] Fix update checker --- assets/javascripts/app/update_checker.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/app/update_checker.coffee b/assets/javascripts/app/update_checker.coffee index 075b3226..5630b488 100644 --- a/assets/javascripts/app/update_checker.coffee +++ b/assets/javascripts/app/update_checker.coffee @@ -2,7 +2,7 @@ class app.UpdateChecker constructor: -> @lastCheck = Date.now() - $.on window, 'focus', @checkForUpdate + $.on window, 'focus', @onFocus app.appCache.on 'updateready', @onUpdateReady if app.appCache setTimeout @checkDocs, 0