1
0
Thibaut Courouble 8 жил өмнө
parent
commit
15da3113d3

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

@@ -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) =>