Skip to content

Commit bd5cea9

Browse files
committed
Checkboxradio: Remove default element
Cant be sane
1 parent 8ec2d15 commit bd5cea9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/unit/checkboxradio/checkboxradio_common.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
TestHelpers.commonWidgetTests( "checkboxradio", {
2+
noDefaultElement: true,
23
defaults: {
34
disabled: null,
45
label: null,

ui/checkboxradio.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ $.widget( "ui.checkboxradio", {
7070
}
7171
},
7272

73-
defaultElement: "<input type='checkbox'>",
74-
7573
_getCreateOptions: function() {
7674
var disabled,
7775
that = this,

0 commit comments

Comments
 (0)