will_pickdate 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -492,8 +492,11 @@
|
|
492
492
|
} else if (event.which == 40) {
|
493
493
|
//down arrow
|
494
494
|
dy = -1;
|
495
|
-
} else if (48 <= event.which <= 57) {
|
495
|
+
} else if (48 <= event.which && event.which <= 57) {
|
496
496
|
event.target.value = (event.target.value + String.fromCharCode(event.which)).substr(1,2)
|
497
|
+
} else if (event.which == 9 ) {
|
498
|
+
//allow tab to skip to next
|
499
|
+
return;
|
497
500
|
}
|
498
501
|
$.proxy(f, this)(event, null, null, dy);
|
499
502
|
},
|