diff --git a/index.js b/index.js index 3a7e11f..64b933a 100644 --- a/index.js +++ b/index.js @@ -133,7 +133,6 @@ Pjax.prototype = { this.log("load content", tmpEl.documentElement.attributes, tmpEl.documentElement.innerHTML.length) // Clear out any focused controls before inserting new page contents. - // we clear focus on non form elements if (document.activeElement && contains(this.options.selectors, document.activeElement)) { try { document.activeElement.blur()