Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
FIx data-initialize and highlight markup for radio
Browse files Browse the repository at this point in the history
  • Loading branch information
interactivellama committed May 5, 2015
1 parent 689d20b commit 3a3318f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _includes/js/radio.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<h1 id="radio" class="page-header">Radio <a href="{{ site.repo }}/blob/{{ site.current_version }}/js/radio.js"><small>radio.js</small></a></h1>

<p>The radio control provides a customized look and feel that can be standardized across all browsers.</p>
<div class="radio" data-initialize="radio" id="radioIllustration">
<label class="radio-custom">
<div class="radio" id="radioIllustration">
<label class="radio-custom" data-initialize="radio">
<input class="sr-only" name="radioEx1" type="radio" value="option1">
Browser-independent radio
</label>
Expand Down Expand Up @@ -196,8 +196,8 @@ <h4 id="radio-examples-highlighting">Highlighting radios</h4>
<p>Use the <code>.highlight</code> class to add a background highlight upon check.
</p>
<div class="fu-example section">
<div class="radio highlight" data-initialize="radio">
<label class="radio-custom">
<div class="radio highlight">
<label class="radio-custom highlight" data-initialize="radio">
<input class="sr-only" name="radioEx4" type="radio" value="option1">
This block-level radio will highlight on check.
</label>
Expand All @@ -208,8 +208,8 @@ <h4 id="radio-examples-highlighting">Highlighting radios</h4>
</label>
</div>
{% highlight html %}
<div class="radio highlight" data-initialize="radio" id="myCustomRadioLabel10">
<label class="radio-custom">
<div class="radio highlight" id="myCustomRadioLabel10">
<label class="radio-custom highlight" data-initialize="radio">
<input class="sr-only" name="radioEx4" type="radio" value="option1">
This block-level radio will highlight on check.
</label>
Expand Down

0 comments on commit 3a3318f

Please sign in to comment.