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 b11e196 commit 0308b01Copy full SHA for 0308b01
jquery.pjax.js
@@ -401,6 +401,10 @@ function onPjaxPopstate(event) {
401
// page.
402
if (initialPop && initialURL == state.url) return
403
404
+ // If popping back to the same state, just skip.
405
+ // Could be clicking back from hashchange rather than a pushState.
406
+ if (pjax.state.id === state.id) return
407
+
408
var container = $(state.container)
409
if (container.length) {
410
var direction, contents = cacheMapping[state.id]
0 commit comments