Don't set floating label on leave

Navigation over empty fields using Tab should not bounce the labels
This commit is contained in:
Mikhail Podgurskiy 2015-01-20 07:16:59 +05:00
parent cc70cd63d8
commit 3537c0c28c

View File

@ -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;
}