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

Commit ae20919

Browse files
committed
Fix failing test in IE.
element.click() only works when element is in the document.
1 parent 6a06e84 commit ae20919

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/js/events.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,8 @@ test('retarget order (multiple shadow roots)', function() {
14051405
});
14061406

14071407
test('add during dispatch', function() {
1408-
var div = document.createElement('div');
1408+
div = document.createElement('div');
1409+
document.body.appendChild(div);
14091410
var fCount = 0;
14101411
var gCount = 0;
14111412
var hCount = 0;

0 commit comments

Comments
 (0)