ソースを参照

Fix AppCache#reload

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