Remove redundant comment
This commit is contained in:
1
index.js
1
index.js
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user