Skip to content
Snippets Groups Projects
Commit 430426c6 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #1378 from greezybacon/issue/1362


pjax: Upgrade to PJAX 1.8.2

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents de30249b c8843627
No related branches found
No related tags found
No related merge requests found
...@@ -263,7 +263,9 @@ function pjax(options) { ...@@ -263,7 +263,9 @@ function pjax(options) {
} }
// Clear out any focused controls before inserting new page contents. // 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 if (container.title) document.title = container.title
context.html(container.contents) 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