Skip to content

Commit

Permalink
Widget: Fixed reference to element in _getCreateOptions().
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Oct 20, 2010
1 parent 7d9d2b5 commit c74f538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ $.Widget.prototype = {
this._init();
},
_getCreateOptions: function() {
return $.metadata && $.metadata.get( element )[ this.widgetName ];
return $.metadata && $.metadata.get( this.element[0] )[ this.widgetName ];
},
_create: function() {},
_init: function() {},
Expand Down

0 comments on commit c74f538

Please sign in to comment.