Skip to content

Commit

Permalink
Fix obscure test
Browse files Browse the repository at this point in the history
Manifests on SauceLabs running tests via command line (Travis or
locally). Does not manifest testing on local VMs or SauceLabs's
interactive browser
  • Loading branch information
jhchen committed Feb 9, 2015
1 parent 4298b24 commit 1b19500
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/selection.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ class Selection
else
selection.removeAllRanges()
@doc.root.blur()
# setRange(null) will fail to blur in IE10/11 on Travis+SauceLabs (but not local VMs)
document.body.focus() if dom.isIE(11) and !dom.isIE(9)


module.exports = Selection

0 comments on commit 1b19500

Please sign in to comment.