git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test runner: adding a new test page called 'polluted'. Where one can choose to pre...
[jquery.git]
/
src
/
fx.js
diff --git
a/src/fx.js
b/src/fx.js
index
37c4680
..
ee8ab81
100644
(file)
--- a/
src/fx.js
+++ b/
src/fx.js
@@
-81,7
+81,7
@@
jQuery.fn.extend({
for ( p in prop ) {
if ( prop[p] == "hide" && hidden || prop[p] == "show" && !hidden )
for ( p in prop ) {
if ( prop[p] == "hide" && hidden || prop[p] == "show" && !hidden )
- return jQuery.isFunction(opt.complete) && opt.complete.call(this);
+ return opt.complete.call(this);
if ( p == "height" || p == "width" ) {
// Store display property
if ( p == "height" || p == "width" ) {
// Store display property
@@
-378,8
+378,7
@@
jQuery.fx.prototype = {
jQuery.attr(this.elem.style, p, this.options.orig[p]);
}
jQuery.attr(this.elem.style, p, this.options.orig[p]);
}
- // If a callback was provided, execute it
- if ( done && jQuery.isFunction( this.options.complete ) )
+ if ( done )
// Execute the complete function
this.options.complete.call( this.elem );
// Execute the complete function
this.options.complete.call( this.elem );