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

Commit

Permalink
[checkboxradio] Turn off icon if part of a horizontal controlgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Nov 5, 2012
1 parent f760adf commit c62f48b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/widgets/forms/checkboxradio.js
Expand Up @@ -37,8 +37,8 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
activeBtn = icon ? "" : " " + $.mobile.activeBtnClass,
checkedClass = "ui-" + checkedState + activeBtn,
uncheckedClass = "ui-" + uncheckedState,
checkedicon = checkedState,
uncheckedicon = uncheckedState;
checkedicon = icon ? checkedState : undefined,
uncheckedicon = icon ? uncheckedState : undefined;

if ( inputtype !== "checkbox" && inputtype !== "radio" ) {
return;
Expand Down

0 comments on commit c62f48b

Please sign in to comment.