mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
jquery ajax: making Paul's last change([5735]) shorter.
This commit is contained in:
parent
91a84d233d
commit
6159593520
@ -75,7 +75,8 @@ jQuery.fn.extend({
|
|||||||
return this[ optall.queue === false ? "each" : "queue" ](function(){
|
return this[ optall.queue === false ? "each" : "queue" ](function(){
|
||||||
|
|
||||||
var opt = jQuery.extend({}, optall), p,
|
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 ) {
|
for ( p in prop ) {
|
||||||
if ( prop[p] == "hide" && hidden || prop[p] == "show" && !hidden )
|
if ( prop[p] == "hide" && hidden || prop[p] == "show" && !hidden )
|
||||||
|
Loading…
Reference in New Issue
Block a user