Commit eab0e57f authored by Jörn Zaefferer's avatar Jörn Zaefferer

Added test for #815

parent 4b9bed95
...@@ -105,3 +105,10 @@ test("Event.data is a global event object", function() { ...@@ -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();
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment