Browse Source

Fix AppCache#reload

Thibaut Courouble 8 years ago
parent
commit
15da3113d3
1 changed files with 1 additions and 2 deletions
  1. 1 2
      assets/javascripts/app/appcache.coffee

+ 1 - 2
assets/javascripts/app/appcache.coffee

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