Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fixed bug that throws an error in $.mobile.changePage #4890
The error is thrown at: https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.navigation.js#L1098
To replicate the bug you need a specific set of conditions:
To fix the bug
NB: This bug has only arisen because I am bypassing jquery mobile navigation and using backbone's router.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Can you please provide a demo page illustrating this problem? You can use our handy jsbin template to start with. It would also be nice if you could add a unit test that fails unless your patch is applied. You can add your test to the navigation unit test suite located in the source tree's tests/unit/navigation subdirectory.
The most important thing is the demo though. Don't worry if you can't get around to writing the unit test.