Skip to content

Commit

Permalink
fix querySelector in one other place
Browse files Browse the repository at this point in the history
  • Loading branch information
cherifGsoul committed Oct 22, 2018
1 parent 1181693 commit efe19b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion can-dom-events-test.js
Expand Up @@ -71,14 +71,14 @@ unit.test('domEvents.dispatch works', function (assert) {

var input = document.createElement('input');
var eventType = 'click';
var qf = document.querySelector('#qunit-fixture');
var handler = function () {
assert.ok(true, 'event handler should be called');
};

input.addEventListener(eventType, handler);

if (typeof Event !== "function") {
var qf = document.querySelector('#qunit-fixture');
qf.appendChild(input);
}

Expand Down

0 comments on commit efe19b4

Please sign in to comment.