mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-12-01 14:03:45 +03:00
Fix: Floating label is not floated on paste event
This commit is contained in:
parent
1cfbb247e9
commit
fc13cdb91d
|
@ -73,7 +73,7 @@
|
||||||
|
|
||||||
$(document)
|
$(document)
|
||||||
.on("change", ".checkbox input", function() { $(this).blur(); })
|
.on("change", ".checkbox input", function() { $(this).blur(); })
|
||||||
.on("keydown", ".form-control", function(e) {
|
.on("keydown paste", ".form-control", function(e) {
|
||||||
if(_isChar(e)) {
|
if(_isChar(e)) {
|
||||||
$(this).removeClass("empty");
|
$(this).removeClass("empty");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user