We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 244eebe commit 8d1713dCopy full SHA for 8d1713d
ui/jquery.ui.widget.js
@@ -134,8 +134,6 @@ $.Widget.prototype = {
134
},
135
_createWidget: function( options, element ) {
136
element = $( element || this.defaultElement )[ 0 ];
137
- // $.widget.bridge stores the plugin instance, but we do it anyway
138
- // so that it's stored even before the _create function runs
139
$.data( element, this.widgetName, this );
140
this.element = $( element );
141
this.options = $.extend( true, {},
0 commit comments