mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-12 01:30:38 +03:00
fixed problem with new focus effect of checkboxes
This commit is contained in:
parent
323c430085
commit
40250e0757
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
$(function (){
|
$(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() {
|
var initInputs = function() {
|
||||||
// Add fake-checkbox to material checkboxes
|
// 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() {
|
$(document).on("keyup change", ".form-control", function() {
|
||||||
var self = $(this);
|
var self = $(this);
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user