From c74f53898e6191d23aa5e8f91f3a64903980d84d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 19 Oct 2010 23:19:53 -0400 Subject: [PATCH] Widget: Fixed reference to element in _getCreateOptions(). --- ui/jquery.ui.widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {},