summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xjs/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js
index 0550dc0..64d0e7c 100755
--- a/js/main.js
+++ b/js/main.js
@@ -98,6 +98,7 @@ function resultFunction() {
function check_input_onkeydown(){
if( !( (event.keyCode >= 48 && event.keyCode<=57) ||
(event.keyCode >= 96 && event.keyCode <= 105) ||
+ event.keyCode==46 ||
event.keyCode==8 ||
event.keyCode==9 ||
event.keyCode==0) ){