Skip to content
Snippets Groups Projects
Commit c8843627 authored by Jared Hancock's avatar Jared Hancock
Browse files

pjax: Upgrade to PJAX 1.8.2

parent de30249b
No related branches found
No related tags found
No related merge requests found
......@@ -263,7 +263,9 @@ function pjax(options) {
}
// Clear out any focused controls before inserting new page contents.
document.activeElement.blur()
try {
document.activeElement.blur()
} catch (e) { }
if (container.title) document.title = container.title
context.html(container.contents)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment