Commit 92b06d30 authored by Dave Methvin's avatar Dave Methvin

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

parent a18645c6
......@@ -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(){
ok( true, "Live div trigger blur." );
});
jQuery("#nothiddendiv div").trigger("blur");
jQuery("#nothiddendiv div").die("blur");
jQuery("#nothiddendiv div")
.attr("tabindex", "0")
.live("blur", function(){
ok( true, "Live div trigger blur." );
})
.focus()
.trigger("blur")
.die("blur");
});
test("die all bound events", function(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment