Merge pull request #371 from kmmbvnr/master

Don't set floating label on leave
This commit is contained in:
Fez Vrasta 2015-01-27 12:48:06 +01:00
commit 1775c018be

View File

@ -14,7 +14,7 @@
if (typeof evt.which == "undefined") { if (typeof evt.which == "undefined") {
return true; return true;
} else if (typeof evt.which == "number" && evt.which > 0) { } 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; return false;
} }