Commit 0bed2af4 authored by Kevin Lyda's avatar Kevin Lyda 💬
Browse files

make entry even faster.

parent a487016a
......@@ -61,7 +61,13 @@ cuberoot.addEventListener("keydown", function (e) {
if (e.keyCode === 13) {
check_cuberoot(e);
}
})
});
cuberoot.addEventListener("keyup", function (e) {
if (cuberoot.value.length >= 2) {
check_cuberoot(e);
}
});
function humanize_ms(ms) {
if (ms < 1000) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment