Remove redundant comment

This commit is contained in:
Robin North
2018-01-29 20:06:33 +00:00
committed by GitHub
parent 20e987929e
commit 63bc2af226

View File

@@ -133,7 +133,6 @@ Pjax.prototype = {
this.log("load content", tmpEl.documentElement.attributes, tmpEl.documentElement.innerHTML.length) this.log("load content", tmpEl.documentElement.attributes, tmpEl.documentElement.innerHTML.length)
// Clear out any focused controls before inserting new page contents. // 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)) { if (document.activeElement && contains(this.options.selectors, document.activeElement)) {
try { try {
document.activeElement.blur() document.activeElement.blur()