will_pickdate 0.9.3 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
|
},
|