File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ $.widget( "ui.button", {
51
51
52
52
_getCreateOptions : function ( ) {
53
53
var disabled ,
54
- options = { } ;
54
+ options = this . _super ( ) || { } ;
55
55
56
56
this . isInput = this . element . is ( "input" ) ;
57
57
this . originalLabel = this . isInput ? this . element . val ( ) : this . element . html ( ) ;
@@ -226,7 +226,7 @@ $.widget( "ui.button", {
226
226
} ) ;
227
227
228
228
// DEPRECATED
229
- if ( $ . uiBackCompat ) {
229
+ if ( $ . uiBackCompat === false ) {
230
230
231
231
// Text and Icons options
232
232
$ . widget ( "ui.button" , $ . ui . button , {
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ $.widget( "ui.checkboxradio", {
70
70
_getCreateOptions : function ( ) {
71
71
var disabled ,
72
72
that = this ,
73
- options = { } ;
73
+ options = this . _super ( ) || { } ;
74
74
75
75
this . _readLabel ( ) ;
76
76
You can’t perform that action at this time.
0 commit comments