git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing #2081
[jquery.git]
/
src
/
fx.js
diff --git
a/src/fx.js
b/src/fx.js
index
c613f93
..
b4606a8
100644
(file)
--- a/
src/fx.js
+++ b/
src/fx.js
@@
-139,9
+139,6
@@
jQuery.fn.extend({
return queue( this[0], type );
return this.each(function(){
return queue( this[0], type );
return this.each(function(){
- if ( this.nodeType != 1)
- return;
-
if ( fn.constructor == Array )
queue(this, type, fn);
else {
if ( fn.constructor == Array )
queue(this, type, fn);
else {
@@
-181,7
+178,7
@@
jQuery.fn.extend({
var queue = function( elem, type, array ) {
if ( !elem )
var queue = function( elem, type, array ) {
if ( !elem )
- return;
+ return undefined;
type = type || "fx";
type = type || "fx";
@@
-418,4
+415,4
@@
jQuery.fx.step = {
_default: function(fx){
fx.elem.style[ fx.prop ] = fx.now + fx.unit;
}
_default: function(fx){
fx.elem.style[ fx.prop ] = fx.now + fx.unit;
}
-};
\ No newline at end of file
+};