Skip to content

Commit

Permalink
Merge pull request #82 from BrunoEberhard/fix_blur_activeElement
Browse files Browse the repository at this point in the history
The activeElement doesn't seem to have blur in IE 11.0.9600.18015
  • Loading branch information
samthor committed Oct 3, 2015
2 parents 6ce9034 + d3c1653 commit c3e449d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialog-polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
}).join(', ');
target = this.dialog_.querySelector(query);
}
document.activeElement && document.activeElement.blur();
document.activeElement && document.activeElement.blur && document.activeElement.blur();
target && target.focus();
},

Expand Down

0 comments on commit c3e449d

Please sign in to comment.