Skip to content
Permalink
Browse files

Remove unnec .call( this... from one: function() {}. Fixes #10819

  • Loading branch information...
rwaldron authored and dmethvin committed Nov 17, 2011
1 parent 2c1d2b1 commit 64df670a81e70fdece1049129523bb2ad1bc2858
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event.js
@@ -915,7 +915,7 @@ jQuery.fn.extend({
});
},
one: function( types, selector, data, fn ) {
return this.on.call( this, types, selector, data, fn, 1 );
return this.on( types, selector, data, fn, 1 );
},
off: function( types, selector, fn ) {
if ( types && types.preventDefault && types.handleObj ) {

0 comments on commit 64df670

Please sign in to comment.
You can’t perform that action at this time.