History

Fix AppCache#reload

Thibaut Courouble committed 9 years ago

Commit 15da3111 parent 3b5eec71 file · +1 −2Browse files

Unified · Split

assets/javascripts/app/appcache.coffee+1−2
@@ -28,10 +28,9 @@ class app.AppCache · 27 unmodified lines
2828
2929 reload: ->
3030 $.on @cache, 'updateready noupdate error', -> window.location = '/'
31− @updateInBackground()
3231 @notifyUpdate = false
3332 @notifyProgress = true
34− @cache.update()
33+ try @cache.update() catch
3534 return
3635
3736 onProgress: (event) =>