mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
This commit is contained in:
parent
ebb04981a6
commit
a18f98e547
@ -105,7 +105,7 @@ $.widget = function(name, prototype) {
|
||||
if (isMethodCall && instance) {
|
||||
instance[options].apply(instance, args);
|
||||
} else if (!isMethodCall) {
|
||||
var instance = new $[namespace][name](this, options), target = instance.element || this;
|
||||
var instance = new $[namespace][name](this, options), target = instance.element || $(this);
|
||||
|
||||
if (target.is('.ui-wrapper')) {
|
||||
self = target[0];
|
||||
|
Loading…
Reference in New Issue
Block a user