Fix AppCache#reload

pull/602/head
Thibaut Courouble 8 years ago
parent 3b5eec7522
commit 15da3113d3

@ -28,10 +28,9 @@ class app.AppCache
reload: -> reload: ->
$.on @cache, 'updateready noupdate error', -> window.location = '/' $.on @cache, 'updateready noupdate error', -> window.location = '/'
@updateInBackground()
@notifyUpdate = false @notifyUpdate = false
@notifyProgress = true @notifyProgress = true
@cache.update() try @cache.update() catch
return return
onProgress: (event) => onProgress: (event) =>

Loading…
Cancel
Save