mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Added test for #815
This commit is contained in:
parent
4b9bed9543
commit
eab0e57fb5
@ -104,4 +104,11 @@ test("Event.data is a global event object", function() {
|
|||||||
$("select").each(function(i){
|
$("select").each(function(i){
|
||||||
$(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 New Issue
Block a user