mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Widget: Work around bug in jQuery <1.6.3 where .removeData( dashed-name ) doesn't work.
This commit is contained in:
5
ui/jquery.ui.widget.js
vendored
5
ui/jquery.ui.widget.js
vendored
@@ -251,7 +251,10 @@ $.Widget.prototype = {
|
||||
// 1.9 BC for #7810
|
||||
// TODO remove dual storage
|
||||
.removeData( this.widgetName )
|
||||
.removeData( this.widgetFullName );
|
||||
.removeData( this.widgetFullName )
|
||||
// support: jquery <1.6.3
|
||||
// http://bugs.jquery.com/ticket/9413
|
||||
.removeData( $.camelCase( this.widgetFullName ) );
|
||||
this.widget()
|
||||
.unbind( "." + this.widgetName )
|
||||
.removeAttr( "aria-disabled" )
|
||||
|
||||
Reference in New Issue
Block a user