mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Widget: Fixed reference to element in _getCreateOptions().
This commit is contained in:
parent
7d9d2b551f
commit
c74f53898e
2
ui/jquery.ui.widget.js
vendored
2
ui/jquery.ui.widget.js
vendored
@ -158,7 +158,7 @@ $.Widget.prototype = {
|
|||||||
this._init();
|
this._init();
|
||||||
},
|
},
|
||||||
_getCreateOptions: function() {
|
_getCreateOptions: function() {
|
||||||
return $.metadata && $.metadata.get( element )[ this.widgetName ];
|
return $.metadata && $.metadata.get( this.element[0] )[ this.widgetName ];
|
||||||
},
|
},
|
||||||
_create: function() {},
|
_create: function() {},
|
||||||
_init: function() {},
|
_init: function() {},
|
||||||
|
Loading…
Reference in New Issue
Block a user