mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Simplified a selector in the .live() tests.
This commit is contained in:
parent
6e5a6a26a7
commit
21dead4691
@ -796,8 +796,8 @@ test(".live()/.die()", function() {
|
||||
equals( livee, 0, "Verify that second handler doesn't." );
|
||||
|
||||
// and one pair in inverse
|
||||
jQuery('#liveHandlerOrder span#liveSpan2').live('click', function(){ livee++; });
|
||||
jQuery('#liveHandlerOrder span#liveSpan2 a').live('click', function(){ lived++; return false; });
|
||||
jQuery('span#liveSpan2').live('click', function(){ livee++; });
|
||||
jQuery('span#liveSpan2 a').live('click', function(){ lived++; return false; });
|
||||
|
||||
lived = 0;
|
||||
livee = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user