Unified · Split
| @@ -28,10 +28,9 @@ class app.AppCache · 27 unmodified lines | |||
| 28 | 28 | ||
| 29 | reload: -> | 29 | reload: -> |
| 30 | $.on @cache, 'updateready noupdate error', -> window.location = '/' | 30 | $.on @cache, 'updateready noupdate error', -> window.location = '/' |
| 31 | @updateInBackground() | ||
| 32 | @notifyUpdate = false | 31 | @notifyUpdate = false |
| 33 | @notifyProgress = true | 32 | @notifyProgress = true |
| 34 | @cache.update() | 33 | try @cache.update() catch |
| 35 | return | 34 | return |
| 36 | 35 | ||
| 37 | onProgress: (event) => | 36 | onProgress: (event) => |