Skip to content
Permalink
Browse files

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

  • Loading branch information
flesler committed Jun 20, 2008
1 parent 91a84d2 commit 6159593520345aa00d4051e465736f0ec42a33cd
Showing with 2 additions and 1 deletion.
  1. +2 −1 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 )

0 comments on commit 6159593

Please sign in to comment.
You can’t perform that action at this time.