mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-30 13:28:13 -05:00
use el[0] instead of this for callback
This commit is contained in:
@@ -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();
|
||||
}});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user