Skip to content
Browse files
Tweak live-blur() test to silence a IE8 swarm fail.
  • Loading branch information
dmethvin committed Oct 12, 2011
1 parent a18645c commit 92b06d302cc8e94d52e0c60c9167ec17606984f3
Showing 1 changed file with 8 additions and 9 deletions.
@@ -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." );

test("die all bound events", function(){

0 comments on commit 92b06d3

Please sign in to comment.