Added test for #815
This commit is contained in:
parent
4b9bed9543
commit
eab0e57fb5
|
@ -105,3 +105,10 @@ test("Event.data is a global event object", function() {
|
||||||
$(this).bind('change', i, selectOnChange);
|
$(this).bind('change', i, selectOnChange);
|
||||||
}).trigger('change');
|
}).trigger('change');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test("click event handler for checkbox gets fired twice, see #815", function() {
|
||||||
|
expect(1);
|
||||||
|
$("#check1").click(function() {
|
||||||
|
ok( true );
|
||||||
|
}).click();
|
||||||
|
});
|
Loading…
Reference in a new issue