Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 5cff630

Browse files
author
Gabriel Schulhof
committed
Controlgroup: Remove initSelector.
1 parent 07ed62a commit 5cff630

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

js/widgets/controlgroup.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ $.widget( "mobile.controlgroup", $.extend( {
2020
corners: true,
2121
excludeInvisible: true,
2222
type: "vertical",
23-
mini: false,
24-
initSelector: ":jqmData(role='controlgroup')"
23+
mini: false
2524
},
2625

2726
_create: function() {
@@ -158,8 +157,6 @@ $.widget( "mobile.controlgroup", $.extend( {
158157
}
159158
}, $.mobile.behaviors.addFirstLastClasses ) );
160159

161-
$.mobile.controlgroup.initSelector = ":jqmData(role='controlgroup')";
162-
163160
$.mobile._enhancer.add( "mobile.controlgroup", {
164161
dependencies: [ "mobile.selectmenu", "mobile.button", "mobile.checkboxradio" ]
165162
});

0 commit comments

Comments
 (0)