aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.widget.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-10-19 23:19:53 -0400
committerScott González <scott.gonzalez@gmail.com>2010-10-19 23:19:53 -0400
commitc74f53898e6191d23aa5e8f91f3a64903980d84d (patch)
tree52f9891b69343a6f7465e6814a9b2b6f035ddba0 /ui/jquery.ui.widget.js
parent7d9d2b551fc9522e6eea6c4c3df9c235f51b3803 (diff)
downloadjquery-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.js2
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() {},