diff --git a/src/event/eventTest.js b/src/event/eventTest.js index 7fc91b069..82732449d 100644 --- a/src/event/eventTest.js +++ b/src/event/eventTest.js @@ -104,4 +104,11 @@ test("Event.data is a global event object", function() { $("select").each(function(i){ $(this).bind('change', i, selectOnChange); }).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