Skip to content

Commit 93ed8ae

Browse files
committed
Checkboxradio: fixup
1 parent dc6ed3f commit 93ed8ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ui/button.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $.widget( "ui.button", {
5151

5252
_getCreateOptions: function() {
5353
var disabled,
54-
options = {};
54+
options = this._super() || {};
5555

5656
this.isInput = this.element.is( "input" );
5757
this.originalLabel = this.isInput ? this.element.val() : this.element.html();
@@ -226,7 +226,7 @@ $.widget( "ui.button", {
226226
});
227227

228228
// DEPRECATED
229-
if ( $.uiBackCompat ) {
229+
if ( $.uiBackCompat === false ) {
230230

231231
// Text and Icons options
232232
$.widget( "ui.button", $.ui.button, {

ui/checkboxradio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $.widget( "ui.checkboxradio", {
7070
_getCreateOptions: function() {
7171
var disabled,
7272
that = this,
73-
options = {};
73+
options = this._super() || {};
7474

7575
this._readLabel();
7676

0 commit comments

Comments
 (0)