git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug #1584, ajaxStop/complete calls weren't called for JSONP requests.
[jquery.git]
/
src
/
fx.js
diff --git
a/src/fx.js
b/src/fx.js
index
87af7e0
..
67af130
100644
(file)
--- a/
src/fx.js
+++ b/
src/fx.js
@@
-129,12
+129,12
@@
jQuery.fn.extend({
},
queue: function(type, fn){
- if ( !fn ) {
+ if ( jQuery.isFunction(type) ) {
fn = type;
type = "fx";
}
- if ( !arguments.length )
+ if ( !type || typeof type == "string" )
return queue( this[0], type );
return this.each(function(){