git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Second part of the fix for #2071. An empty string "" was being sent to .bind() and...
[jquery.git]
/
src
/
event.js
diff --git
a/src/event.js
b/src/event.js
index
02ed088
..
c0238cc
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-102,7
+102,7
@@
jQuery.event = {
if ( events ) {
// Unbind all events for the element
- if ( !types )
+ if ( types == undefined )
for ( var type in events )
this.remove( elem, type );
else {