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 8917533 commit ef764ecCopy full SHA for ef764ec
jquery.pjax.js
@@ -261,6 +261,9 @@ function pjax(options) {
261
window.history.replaceState(pjax.state, container.title, container.url)
262
}
263
264
+ // Clear out any focused controls before inserting new page contents.
265
+ document.activeElement.blur()
266
+
267
if (container.title) document.title = container.title
268
context.html(container.contents)
269
0 commit comments