git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91a84d2
)
jquery ajax: making Paul's last change([5735]) shorter.
author
Ariel Flesler
<aflesler@gmail.com>
Fri, 20 Jun 2008 16:20:20 +0000
(16:20 +0000)
committer
Ariel Flesler
<aflesler@gmail.com>
Fri, 20 Jun 2008 16:20:20 +0000
(16:20 +0000)
src/fx.js
patch
|
blob
|
history
diff --git
a/src/fx.js
b/src/fx.js
index
b9ca81e
..
df7721a
100644
(file)
--- a/
src/fx.js
+++ b/
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 )