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

This commit is contained in:
timmywil 2011-04-13 23:10:32 -04:00
parent 72ddc8c645
commit 149a040794
2 changed files with 4 additions and 4 deletions

View file

@ -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 );