Remove switch labels (Closes #666)

master
Alexander Surma 2015-07-03 14:33:39 +01:00 committed by Addy Osmani
parent 02c4a4afde
commit fbbe7ce63a
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-2">
<input type="checkbox" id="switch-2" class="mdl-switch__input" />
<span class="mdl-switch__label">Switch me</span>
<span class="mdl-switch__label"></span>
</label>

View File

@ -1,4 +1,4 @@
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-1">
<input type="checkbox" id="switch-1" class="mdl-switch__input" checked />
<span class="mdl-switch__label">Switch me</span>
<span class="mdl-switch__label"></span>
</label>