aboutsummaryrefslogtreecommitdiffstats
path: root/ui/source/effects.fold.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/source/effects.fold.js')
-rw-r--r--ui/source/effects.fold.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/source/effects.fold.js b/ui/source/effects.fold.js
index f2738c2aa..a57593d8c 100644
--- a/ui/source/effects.fold.js
+++ b/ui/source/effects.fold.js
@@ -28,7 +28,7 @@
.animate(animation2, o.duration / 2, o.options.easing, function() {
if(mode == 'hide') el.hide(); // Hide
$.effects.restore(el, props); $.effects.removeWrapper(el); // Restore
- if(o.callback) o.callback.apply(this, arguments); // Callback
+ if(o.callback) o.callback.apply(el[0], arguments); // Callback
el.dequeue();
});