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:
ee9192d
)
Allowing falsy values to be passed as a speed for show().
author
Scott Gonzalez
<sgonzale@sgonzale-laptop.local>
Thu, 12 Nov 2009 22:27:10 +0000
(06:27 +0800)
committer
John Resig
<jeresig@gmail.com>
Fri, 13 Nov 2009 04:23:39 +0000
(12:23 +0800)
src/fx.js
patch
|
blob
|
history
diff --git
a/src/fx.js
b/src/fx.js
index
801d92c
..
62cda09
100644
(file)
--- a/
src/fx.js
+++ b/
src/fx.js
@@
-19,7
+19,7
@@
function genFx( type, num ){
jQuery.fn.extend({
show: function(speed,callback){
- if ( speed !== undefined ) {
+ if ( speed ) {
return this.animate( genFx("show", 3), speed, callback);
} else {
for ( var i = 0, l = this.length; i < l; i++ ){