diff --git a/index.js b/index.js index 25cb76e..21e6d6b 100644 --- a/index.js +++ b/index.js @@ -130,7 +130,7 @@ Pjax.prototype = { // Clear out any focused controls before inserting new page contents. // we clear focus on non form elements - if (document.activeElement && !document.activeElement.value && contains(this.options.selectors, document.activeElement)) { + if (document.activeElement && contains(this.options.selectors, document.activeElement)) { try { document.activeElement.blur() } catch (e) { }