Fix some unscoped tests which failed after recent changes to QUnit.

This commit is contained in:
Anton M 2011-02-15 21:01:52 +01:00
parent 2cc03a86fc
commit 8e40a84c24
3 changed files with 9 additions and 9 deletions

View file

@ -409,7 +409,7 @@ test("bind(), namespaced events, cloned events", 18, function() {
}).trigger("tester");
// Make sure events stick with appendTo'd elements (which are cloned) #2027
jQuery("<a href='#fail' class='test'>test</a>").click(function(){ return false; }).appendTo("p");
jQuery("<a href='#fail' class='test'>test</a>").click(function(){ return false; }).appendTo("#main");
ok( jQuery("a.test:first").triggerHandler("click") === false, "Handler is bound to appendTo'd elements" );
});