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 5fce8b5 commit c19287eCopy full SHA for c19287e
jquery.pjax.js
@@ -575,7 +575,7 @@ function cloneContents(container) {
575
//
576
// Returns sanitized url.href String.
577
function stripInternalParams(url) {
578
- url.search = url.search.replace(/([?&])(_pjax|_)=[^&]*/g, '')
+ url.search = url.search.replace(/([?&])(_pjax|_)=[^&]*/g, '').replace(/^&/, '')
579
return url.href.replace(/\?($|#)/, '$1')
580
}
581
0 commit comments