aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2011-11-17 14:28:22 -0500
committerDave Methvin <dave.methvin@gmail.com>2011-12-06 16:27:38 -0500
commit64df670a81e70fdece1049129523bb2ad1bc2858 (patch)
tree381308479ac653abc2afcc50b2689a920c56c5b6 /src
parent2c1d2b1a4dc74c6487d9f5dd0ecafd34358163a1 (diff)
downloadjquery-64df670a81e70fdece1049129523bb2ad1bc2858.tar.gz
jquery-64df670a81e70fdece1049129523bb2ad1bc2858.zip
Remove unnec .call( this... from one: function() {}. Fixes #10819
Diffstat (limited to 'src')
-rw-r--r--src/event.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.js b/src/event.js
index 4b841bbce..483d9062c 100644
--- a/src/event.js
+++ b/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 ) {