Thibaut Courouble пре 8 година
родитељ
комит
15da3113d3
1 измењених фајлова са 1 додато и 2 уклоњено
  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) =>