Fix: Floating label is not floated on paste event

This commit is contained in:
Phuc Nguyen 2014-10-29 17:26:13 +07:00
parent 1cfbb247e9
commit fc13cdb91d

View File

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