History

Catch NS_ERROR_FAILURE error in Firefox

Thibaut Courouble committed 10 years ago

Commit 77817911 parent afcdcac1 file · +1 −1Browse files

Unified · Split

assets/javascripts/lib/page.coffee+1−1
@@ -90,7 +90,7 @@ class Context · 89 unmodified lines
9090 return
9191
9292 replaceState: ->
93− history.replaceState @state, '', @path
93+ try history.replaceState @state, '', @path # NS_ERROR_FAILURE in Firefox
9494 return
9595
9696 class Route