Skip to content
Permalink
Browse files

Event: Reduce differences from master

  • Loading branch information
gibson042 committed Jan 16, 2013
1 parent e4c5f87 commit 3923bb8400b149f483b7115d0edd2f304348b189
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/unit/event.js
@@ -1878,9 +1878,9 @@ test( "delegated event with selector matching Object.prototype property (#13203)
test( "delegated event with intermediate DOM manipulation (#13208)", function() {
expect(1);

jQuery("#foo").on( "click", "#sap", function() {});
jQuery("#sap").on( "click", "#anchor2", function() {
jQuery( this.parentNode ).remove();
jQuery("#foo").on( "click", "[id=sap]", function() {});
jQuery("#sap").on( "click", "[id=anchor2]", function() {
document.createDocumentFragment().appendChild( this.parentNode );
ok( true, "Element removed" );
});
jQuery("#anchor2").trigger("click");

0 comments on commit 3923bb8

Please sign in to comment.
You can’t perform that action at this time.