Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Widget: Fixed reference to element in _getCreateOptions().

  • Loading branch information...
commit c74f53898e6191d23aa5e8f91f3a64903980d84d 1 parent 7d9d2b5
@scottgonzalez scottgonzalez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ui/jquery.ui.widget.js
View
2  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() {},
Please sign in to comment.
Something went wrong with that request. Please try again.