From: Scott González Date: Wed, 20 Oct 2010 03:19:53 +0000 (-0400) Subject: Widget: Fixed reference to element in _getCreateOptions(). X-Git-Tag: 1.8.6~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c74f53898e6191d23aa5e8f91f3a64903980d84d;p=jquery-ui.git Widget: Fixed reference to element in _getCreateOptions(). --- 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() {},