Fix update checker

pull/630/head
Thibaut Courouble 8 years ago
parent 1d792ff7cd
commit 0e5f888681

@ -2,7 +2,7 @@ class app.UpdateChecker
constructor: -> constructor: ->
@lastCheck = Date.now() @lastCheck = Date.now()
$.on window, 'focus', @checkForUpdate $.on window, 'focus', @onFocus
app.appCache.on 'updateready', @onUpdateReady if app.appCache app.appCache.on 'updateready', @onUpdateReady if app.appCache
setTimeout @checkDocs, 0 setTimeout @checkDocs, 0

Loading…
Cancel
Save