jquery ajax: making Paul's last change([5735]) shorter.
This commit is contained in:
parent
91a84d233d
commit
6159593520
1 changed files with 2 additions and 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 )
|
||||
|
|
Loading…
Reference in a new issue