Fixed .unbind('.namespace').
This commit is contained in:
parent
2c07690377
commit
75cb0d8d05
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ jQuery.event = {
|
|||
|
||||
if ( events ) {
|
||||
// Unbind all events for the element
|
||||
if ( types == undefined || types[0] == "." )
|
||||
if ( types == undefined || (typeof types == "string" && types.charAt(0) == ".") )
|
||||
for ( var type in events )
|
||||
this.remove( elem, type + (types || "") );
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue