mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-06 06:40:37 +03:00
Don't set floating label on leave
Navigation over empty fields using Tab should not bounce the labels
This commit is contained in:
parent
8a9b3da18d
commit
663c604e7b
|
@ -14,7 +14,7 @@
|
|||
if (typeof evt.which == "undefined") {
|
||||
return true;
|
||||
} else if (typeof evt.which == "number" && evt.which > 0) {
|
||||
return !evt.ctrlKey && !evt.metaKey && !evt.altKey && evt.which != 8;
|
||||
return !evt.ctrlKey && !evt.metaKey && !evt.altKey && evt.which != 8 && evt.which != 9;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user