Tweak live-blur() test to silence a IE8 swarm fail.

This commit is contained in:
Dave Methvin 2011-10-11 22:55:10 -04:00
parent a18645c6f8
commit 92b06d302c

View File

@ -1497,15 +1497,14 @@ test(".live()/.die()", function() {
jQuery("#nothiddendiv div").die("click");
// div must have a tabindex to be focusable
jQuery("#nothiddendiv div").attr("tabindex", "0")[0].focus();
jQuery("#nothiddendiv div").live("blur", function(){
jQuery("#nothiddendiv div")
.attr("tabindex", "0")
.live("blur", function(){
ok( true, "Live div trigger blur." );
});
jQuery("#nothiddendiv div").trigger("blur");
jQuery("#nothiddendiv div").die("blur");
})
.focus()
.trigger("blur")
.die("blur");
});
test("die all bound events", function(){