aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.effects.slide.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.effects.slide.js')
-rw-r--r--ui/jquery.effects.slide.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/jquery.effects.slide.js b/ui/jquery.effects.slide.js
index 3be28d91b..de393c779 100644
--- a/ui/jquery.effects.slide.js
+++ b/ui/jquery.effects.slide.js
@@ -12,7 +12,7 @@
*/
(function( $, undefined ) {
-$.effects.effect.slide = function( o, next ) {
+$.effects.effect.slide = function( o, done ) {
// Create element
var el = $( this ),
@@ -58,10 +58,7 @@ $.effects.effect.slide = function( o, next ) {
}
$.effects.restore( el, props );
$.effects.removeWrapper( el );
- if ( $.isFunction( o.complete ) ) {
- o.complete.apply( this, arguments );
- }
- next();
+ done();
}
});