aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax
diff options
context:
space:
mode:
authorMike Alsup <malsup@gmail.com>2007-01-16 11:38:33 +0000
committerMike Alsup <malsup@gmail.com>2007-01-16 11:38:33 +0000
commit5ebd5f604ac90dae6381f59cfa637621faabf932 (patch)
tree75db1d4cccd197b68f986b69b42119241ee56e0a /src/ajax
parentc8b7881c738f6949095029d75d847acc98b0afbc (diff)
downloadjquery-5ebd5f604ac90dae6381f59cfa637621faabf932.tar.gz
jquery-5ebd5f604ac90dae6381f59cfa637621faabf932.zip
Fix bug #814.
Diffstat (limited to 'src/ajax')
-rw-r--r--src/ajax/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js
index 98f792a35..87fe73b94 100644
--- a/src/ajax/ajax.js
+++ b/src/ajax/ajax.js
@@ -55,7 +55,7 @@ jQuery.fn.extend({
// If the second parameter was provided
if ( params )
// If it's a function
- if ( jQuery.isFunction( params.constructor ) ) {
+ if ( jQuery.isFunction( params ) ) {
// We assume that it's the callback
callback = params;
params = null;