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