more specific selector to avoid problems

This commit is contained in:
FezVrasta 2014-11-04 10:51:29 +01:00
parent 661f20fd7f
commit c75a47d95f

View File

@ -71,7 +71,7 @@
}); });
$(document) $(document)
.on("change", ".checkbox input", function() { $(this).blur(); }) .on("change", ".checkbox input[type=checkbox]", function() { $(this).blur(); })
.on("keydown paste", ".form-control", function(e) { .on("keydown paste", ".form-control", function(e) {
if(_isChar(e)) { if(_isChar(e)) {
$(this).removeClass("empty"); $(this).removeClass("empty");