diff options
author | Ariel Flesler <aflesler@gmail.com> | 2008-06-20 16:20:20 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2008-06-20 16:20:20 +0000 |
commit | 6159593520345aa00d4051e465736f0ec42a33cd (patch) | |
tree | 9021cece239cd964d6ad939fba5da420378d1902 /src/fx.js | |
parent | 91a84d233d887dfe08f659779a31d43fb36cf3aa (diff) | |
download | jquery-6159593520345aa00d4051e465736f0ec42a33cd.tar.gz jquery-6159593520345aa00d4051e465736f0ec42a33cd.zip |
jquery ajax: making Paul's last change([5735]) shorter.
Diffstat (limited to 'src/fx.js')
-rw-r--r-- | src/fx.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -75,7 +75,8 @@ jQuery.fn.extend({ return this[ optall.queue === false ? "each" : "queue" ](function(){ var opt = jQuery.extend({}, optall), p, - hidden = this.nodeType != 1 ? false : jQuery(this).is(":hidden"), self = this; + hidden = this.nodeType == 1 && jQuery(this).is(":hidden"), + self = this; for ( p in prop ) { if ( prop[p] == "hide" && hidden || prop[p] == "show" && !hidden ) |