Commit 64df670a authored by Rick Waldron's avatar Rick Waldron Committed by Dave Methvin

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

parent 2c1d2b1a
...@@ -915,7 +915,7 @@ jQuery.fn.extend({ ...@@ -915,7 +915,7 @@ jQuery.fn.extend({
}); });
}, },
one: function( types, selector, data, fn ) { 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 ) { off: function( types, selector, fn ) {
if ( types && types.preventDefault && types.handleObj ) { if ( types && types.preventDefault && types.handleObj ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment