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 bf00366 commit 66cba23Copy full SHA for 66cba23
assets/javascripts/app/app.coffee
@@ -158,7 +158,7 @@
158
@updateChecker = new app.UpdateChecker()
159
160
reboot: ->
161
- if location.pathname isnt '/'
+ if location.pathname isnt '/' and location.pathname isnt '/settings'
162
window.location = "/##{location.pathname}"
163
else
164
window.location = '/'
assets/javascripts/app/appcache.coffee
@@ -27,11 +27,7 @@ class app.AppCache
27
return
28
29
reload: ->
30
- $.on @cache, 'updateready noupdate error', ->
31
32
- window.location = "/##{location.pathname}"
33
- else
34
- window.location = '/'
+ $.on @cache, 'updateready noupdate error', -> app.reboot()
35
@notifyUpdate = false
36
@notifyProgress = true
37
try @cache.update() catch
0 commit comments