Fix test suite fail in IE6/7 on event:undelegate - was failing an if where it shouldn't
This commit is contained in:
parent
72ddc8c645
commit
149a040794
|
@ -1036,7 +1036,7 @@ jQuery.each(["live", "die"], function( i, name ) {
|
|||
}
|
||||
|
||||
if ( name === "die" && !types &&
|
||||
origSelector && origSelector[0] === "." ) {
|
||||
origSelector && origSelector.charAt(0) === "." ) {
|
||||
|
||||
context.unbind( origSelector );
|
||||
|
||||
|
|
|
@ -2027,7 +2027,7 @@ 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"),
|
||||
|
|
Loading…
Reference in a new issue