mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tweak live-blur() test to silence a IE8 swarm fail.
This commit is contained in:
parent
a18645c6f8
commit
92b06d302c
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user