mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-22 17:47:11 +03:00
fixed js of checkboxes and radios
This commit is contained in:
parent
2dc3bb93df
commit
f978575c72
|
@ -5,10 +5,10 @@ $(function (){
|
|||
ripples.init(".btn:not(.btn-link), .navbar a, .nav-tabs a, .withripple");
|
||||
|
||||
// Add fake-checkbox to material checkboxes
|
||||
$(".checkbox label input").after("<span class=ripple></span><span class=check></span>");
|
||||
$(".checkbox > label > input").after("<span class=ripple></span><span class=check></span>");
|
||||
|
||||
// Add fake-radio to material radios
|
||||
$(".radio label input").after("<span class=ripple></span><span class=circle></span><span class=check></span>");
|
||||
$(".radio > label > input").after("<span class=ripple></span><span class=circle></span><span class=check></span>");
|
||||
|
||||
// Add elements for material inputs
|
||||
$("input.form-control, textarea.form-control, select.form-control").each( function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user