Permalink
Browse files

Widget: Fixed reference to element in _getCreateOptions().

  • Loading branch information...
scottgonzalez committed Oct 20, 2010
1 parent 7d9d2b5 commit c74f53898e6191d23aa5e8f91f3a64903980d84d
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.widget.js
View
@@ -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() {},

0 comments on commit c74f538

Please sign in to comment.