From 15da3113d3c67625e95be4c9e5a0db92f9164b4e Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 4 Mar 2017 12:33:24 -0500 Subject: [PATCH] Fix AppCache#reload --- assets/javascripts/app/appcache.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/javascripts/app/appcache.coffee b/assets/javascripts/app/appcache.coffee index 3761c524..d2606ab1 100644 --- a/assets/javascripts/app/appcache.coffee +++ b/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) =>