Skip to content

Commit c74f538

Browse files
committed
Widget: Fixed reference to element in _getCreateOptions().
1 parent 7d9d2b5 commit c74f538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ $.Widget.prototype = {
158158
this._init();
159159
},
160160
_getCreateOptions: function() {
161-
return $.metadata && $.metadata.get( element )[ this.widgetName ];
161+
return $.metadata && $.metadata.get( this.element[0] )[ this.widgetName ];
162162
},
163163
_create: function() {},
164164
_init: function() {},

0 commit comments

Comments
 (0)