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 b3a48e5 commit 9882c05Copy full SHA for 9882c05
jquery.pjax.js
@@ -395,11 +395,6 @@ function onPjaxPopstate(event) {
395
// Cache current container before replacement and inform the
396
// cache which direction the history shifted.
397
cachePop(direction, pjax.state.id, container.clone().contents())
398
- } else {
399
- // Unknown case: If you happen to hit it, please open an issue on
400
- // https://github.com/defunkt/jquery-pjax/issues?sort=updated&state=open
401
- // with steps to reproduce.
402
- throw "missing initial pjax state"
403
}
404
405
var popstateEvent = $.Event('pjax:popstate', {
0 commit comments