From 30ebfe2db2f12aabbacb62165e65e27803ee7b79 Mon Sep 17 00:00:00 2001 From: Aaron Eisenberger Date: Mon, 16 Jun 2008 13:26:08 +0000 Subject: [PATCH] use el[0] instead of this for callback --- ui/effects.clip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/effects.clip.js b/ui/effects.clip.js index 6bfeddeb3..e45d79918 100644 --- a/ui/effects.clip.js +++ b/ui/effects.clip.js @@ -42,7 +42,7 @@ $.effects.clip = function(o) { wrapper.animate(animation, { queue: false, duration: o.duration, easing: o.options.easing, complete: 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(); }}); -- 2.39.5