Commit 149a0407 authored by timmywil's avatar timmywil

Fix test suite fail in IE6/7 on event:undelegate - was failing an if where it shouldn't

parent 72ddc8c6
......@@ -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"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment