/* globals ripples */ $(function (){ ripples.init(".btn:not(.btn-link), .navbar a, .nav-tabs a, .withripple"); // Add fake-checkbox to material checkboxes $(".checkbox > label > input").after(""); // Add fake-radio to material radios $(".radio > label > input").after(""); // Add elements for material inputs $("input.form-control, textarea.form-control, select.form-control").each( function() { $(this).wrap("
"); $(this).after(""); if ($(this).hasClass("floating-label")) { var placeholder = $(this).attr("placeholder"); $(this).attr("placeholder", null).removeClass("floating-label"); $(this).after("