|
@@ -101,6 +101,16 @@
|
|
|
let num = Number.parseInt(this.value);
|
|
|
if(num.toString() == "NaN") num = 0;
|
|
|
this.value = num;
|
|
|
+ }).keyup(function()
|
|
|
+ {
|
|
|
+ let num = Number.parseInt(this.value);
|
|
|
+ if(num.toString() == "NaN") num = 0;
|
|
|
+ this.value = num;
|
|
|
+ }).keydown(function()
|
|
|
+ {
|
|
|
+ let num = Number.parseInt(this.value);
|
|
|
+ if(num.toString() == "NaN") num = 0;
|
|
|
+ this.value = num;
|
|
|
});
|
|
|
$("form>input[type='submit']").click(function()
|
|
|
{
|