Fix bug #814.
authorMike Alsup <malsup@gmail.com>
Tue, 16 Jan 2007 11:38:33 +0000 (11:38 +0000)
committerMike Alsup <malsup@gmail.com>
Tue, 16 Jan 2007 11:38:33 +0000 (11:38 +0000)
src/ajax/ajax.js

index 98f792a..87fe73b 100644 (file)
@@ -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;