From: Ariel Flesler <aflesler@gmail.com>
Date: Fri, 20 Jun 2008 16:20:20 +0000 (+0000)
Subject: jquery ajax: making Paul's last change([5735]) shorter.
X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=6159593520345aa00d4051e465736f0ec42a33cd;p=jquery.git

jquery ajax: making Paul's last change([5735]) shorter.
---

diff --git a/src/fx.js b/src/fx.js
index b9ca81e..df7721a 100644
--- a/src/fx.js
+++ b/src/fx.js
@@ -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 )