Small bug fix
This commit is contained in:
4
index.js
4
index.js
@@ -247,7 +247,7 @@ Pjax.prototype = {
|
|||||||
url: window.location.href,
|
url: window.location.href,
|
||||||
title: document.title,
|
title: document.title,
|
||||||
uid: this.maxUid,
|
uid: this.maxUid,
|
||||||
scrollPos: 0
|
scrollPos: [0, 0]
|
||||||
},
|
},
|
||||||
document.title)
|
document.title)
|
||||||
}
|
}
|
||||||
@@ -259,7 +259,7 @@ Pjax.prototype = {
|
|||||||
url: state.href,
|
url: state.href,
|
||||||
title: state.options.title,
|
title: state.options.title,
|
||||||
uid: this.maxUid,
|
uid: this.maxUid,
|
||||||
scrollPos: 0
|
scrollPos: [0, 0]
|
||||||
},
|
},
|
||||||
state.options.title,
|
state.options.title,
|
||||||
state.href)
|
state.href)
|
||||||
|
|||||||
Reference in New Issue
Block a user