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

Commit

Permalink
Controlgroup: Remove initSelector.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Jul 23, 2013
1 parent 07ed62a commit 5cff630
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/widgets/controlgroup.js
Expand Up @@ -20,8 +20,7 @@ $.widget( "mobile.controlgroup", $.extend( {
corners: true,
excludeInvisible: true,
type: "vertical",
mini: false,
initSelector: ":jqmData(role='controlgroup')"
mini: false
},

_create: function() {
Expand Down Expand Up @@ -158,8 +157,6 @@ $.widget( "mobile.controlgroup", $.extend( {
}
}, $.mobile.behaviors.addFirstLastClasses ) );

$.mobile.controlgroup.initSelector = ":jqmData(role='controlgroup')";

$.mobile._enhancer.add( "mobile.controlgroup", {
dependencies: [ "mobile.selectmenu", "mobile.button", "mobile.checkboxradio" ]
});
Expand Down

0 comments on commit 5cff630

Please sign in to comment.