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.
2 parents 0d7e75e + f70e15c commit 2f32d54Copy full SHA for 2f32d54
jquery.pjax.js
@@ -371,6 +371,11 @@ if (initialState && initialState.container) {
371
pjax.state = initialState
372
}
373
374
+// Non-webkit browsers don't fire an initial popstate event
375
+if ('state' in window.history) {
376
+ initialPop = false
377
+}
378
+
379
// popstate handler takes care of the back and forward buttons
380
//
381
// You probably shouldn't use pjax on pages with other pushState
0 commit comments