mirror of
https://github.com/jquery/jquery.git
synced 2026-01-27 02:28:31 -05:00
Fix test suite fail in IE6/7 on event:undelegate - was failing an if where it shouldn't
This commit is contained in:
@@ -2027,11 +2027,11 @@ test("delegate with submit", function() {
|
||||
jQuery(document).undelegate();
|
||||
});
|
||||
|
||||
test("undelegate() with only namespaces", function(){
|
||||
test("undelegate() with only namespaces", function() {
|
||||
expect(2);
|
||||
|
||||
var $delegate = jQuery("#liveHandlerOrder"),
|
||||
count = 0;
|
||||
count = 0;
|
||||
|
||||
$delegate.delegate("a", "click.ns", function(e) {
|
||||
count++;
|
||||
|
||||
Reference in New Issue
Block a user