git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moving some vars from manipulations.js to attributes.js
[jquery.git]
/
src
/
event.js
diff --git
a/src/event.js
b/src/event.js
index
95718ad
..
e5f6a45
100644
(file)
--- a/
src/event.js
+++ b/
src/event.js
@@
-548,13
+548,13
@@
jQuery.fn.extend({
var proxy = jQuery.event.proxy( fn );
proxy.guid += this.selector + type;
var proxy = jQuery.event.proxy( fn );
proxy.guid += this.selector + type;
- jQuery(document).bind( liveConvert(type, this.selector), this.selector, proxy );
+ jQuery( this.context ).bind( liveConvert(type, this.selector), this.selector, proxy );
return this;
},
die: function( type, fn ){
return this;
},
die: function( type, fn ){
- jQuery(document).unbind( liveConvert(type, this.selector), fn ? { guid: fn.guid + this.selector + type } : null );
+ jQuery( this.context ).unbind( liveConvert(type, this.selector), fn ? { guid: fn.guid + this.selector + type } : null );
return this;
}
});
return this;
}
});