fixed problem with new focus effect of checkboxes

This commit is contained in:
FezVrasta 2014-09-29 09:32:47 +02:00
parent a6017956ed
commit ec3bb1a8db

View File

@ -2,7 +2,9 @@
$(function (){
ripples.init(".btn:not(.btn-link), .navbar a, .nav-tabs a, .withripple");
if (ripples) {
ripples.init(".btn:not(.btn-link), .navbar a, .nav-tabs a, .withripple");
}
var initInputs = function() {
// Add fake-checkbox to material checkboxes
@ -44,6 +46,10 @@ $(function (){
});
}
$(document).on("change", ".checkbox input", function() {
$(this).blur();
});
$(document).on("keyup change", ".form-control", function() {
var self = $(this);
setTimeout(function() {