documentcloud/backbone — Issue #1080: Back button not registering with Backbone.history
Author: Paton
Created: 2012-03-08 02:48:44+00:00
State: open

I have this issue sporadically. I'm not sure of the cause or how to debug:

Backbone.history.fragment returns X
and on the same page
Backbone.history.getFragment() returns Y

This occurs when I click Back in Chrome. Shouldn't fragment and getfragment always be in sync? Is the back action not registring with Backbone.history? (when this occurs, none of my routes are called)