We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61df648 commit ef93f95Copy full SHA for ef93f95
test/unit/event.js
@@ -1004,6 +1004,7 @@ test("trigger() bubbling", function() {
1004
equal( win, 4, "doc bubble" );
1005
1006
// manually clean up events from elements outside the fixture
1007
+ jQuery(window).off("click");
1008
jQuery(document).off("click");
1009
jQuery("html, body, #qunit-fixture").off("click");
1010
});
@@ -2123,7 +2124,7 @@ test("Non DOM element events", function() {
2123
2124
ok( true, "Event on non-DOM object triggered" );
2125
2126
- jQuery(o).trigger("nonelementobj");
2127
+ jQuery(o).trigger("nonelementobj").off("nonelementobj");
2128
2129
2130
test("inline handler returning false stops default", function() {
0 commit comments