Commit 61595935 authored by Ariel Flesler's avatar Ariel Flesler

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

parent 91a84d23
...@@ -75,7 +75,8 @@ jQuery.fn.extend({ ...@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment