Skip to content
Permalink
Browse files

use el[0] instead of this for callback

  • Loading branch information
aaronchi committed Jun 16, 2008
1 parent 8ec7cee commit 30ebfe2db2f12aabbacb62165e65e27803ee7b79
Showing with 1 addition and 1 deletion.
  1. +1 −1 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();
}});

0 comments on commit 30ebfe2

Please sign in to comment.
You can’t perform that action at this time.