diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-10-19 23:19:53 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-10-19 23:19:53 -0400 |
commit | c74f53898e6191d23aa5e8f91f3a64903980d84d (patch) | |
tree | 52f9891b69343a6f7465e6814a9b2b6f035ddba0 /ui/jquery.ui.widget.js | |
parent | 7d9d2b551fc9522e6eea6c4c3df9c235f51b3803 (diff) | |
download | jquery-ui-c74f53898e6191d23aa5e8f91f3a64903980d84d.tar.gz jquery-ui-c74f53898e6191d23aa5e8f91f3a64903980d84d.zip |
Widget: Fixed reference to element in _getCreateOptions().
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r-- | ui/jquery.ui.widget.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index d9d75f9e6..95923eddd 100644 --- a/ui/jquery.ui.widget.js +++ b/ui/jquery.ui.widget.js @@ -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() {}, |