diff --git a/jquery.pjax.js b/jquery.pjax.js index e2f95871..7c1d3535 100644 --- a/jquery.pjax.js +++ b/jquery.pjax.js @@ -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)