We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a0f2b commit 54480ecCopy full SHA for 54480ec
js/app.js
@@ -49,7 +49,11 @@ var loadComplete = function(e) {
49
clearTimeout(initTimer);
50
51
if(e.type == 'updateready') {
52
- window.applicationCache.swapCache();
+ // swapCache may throw exception if the isn't a previous cache
53
+ try {
54
+ window.applicationCache.swapCache();
55
+ } catch(e) {}
56
+
57
window.location.reload();
58
return;
59
}
0 commit comments