Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Fix failing test in IE.
Browse files Browse the repository at this point in the history
element.click() only works when element is in the document.
  • Loading branch information
arv committed May 28, 2014
1 parent 6a06e84 commit ae20919
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/js/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,8 @@ test('retarget order (multiple shadow roots)', function() {
});

test('add during dispatch', function() {
var div = document.createElement('div');
div = document.createElement('div');
document.body.appendChild(div);
var fCount = 0;
var gCount = 0;
var hCount = 0;
Expand Down

0 comments on commit ae20919

Please sign in to comment.