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 checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
interactivellama committed May 5, 2015
1 parent 3a3318f commit 8014c0d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions _includes/js/checkbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,9 @@ <h4 id="checkbox-examples-highlighting">Highlighting checkboxes</h4>
<p>Use the <code>.highlight</code> class to add a background highlight upon check.
</p>
<div class="fu-example section">
<div class="checkbox highlight" data-initialize="checkbox">
<label class="checkbox-custom">

<div class="checkbox highlight">
<label class="checkbox-custom highlight" data-initialize="checkbox">
<input class="sr-only" type="checkbox" value="option1">
This control highlights a block-level checkbox on check
</label>
Expand All @@ -240,7 +241,7 @@ <h4 id="checkbox-examples-highlighting">Highlighting checkboxes</h4>
</div>
{% highlight html %}
<div class="checkbox highlight" data-initialize="checkbox" id="myCheckbox10">
<label class="checkbox-custom">
<label class="checkbox-custom highlight">
<input class="sr-only" type="checkbox" value="option1">
This control highlights a block-level checkbox on check
</label>
Expand Down

0 comments on commit 8014c0d

Please sign in to comment.