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 6159593
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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.