git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8b7881
)
Fix bug #814.
author
Mike Alsup
<malsup@gmail.com>
Tue, 16 Jan 2007 11:38:33 +0000
(11:38 +0000)
committer
Mike Alsup
<malsup@gmail.com>
Tue, 16 Jan 2007 11:38:33 +0000
(11:38 +0000)
src/ajax/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax/ajax.js
b/src/ajax/ajax.js
index
98f792a
..
87fe73b
100644
(file)
--- 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;