Permalink
Browse files

validate clicking on number input arrows [closes #9]

  • Loading branch information...
1 parent 0b32a13 commit 35dec5d175b8d877bccc7d297059185d5d420426 @fprochazka committed Apr 26, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/picker.js
View
4 js/picker.js
@@ -77,8 +77,10 @@
return false;
}).bind('click', function (event) {
$(this).select();
+ dateInputValidator($(this));
+ input.val(mergeInputs(picker));
- }).bind('keyup', function (event) {
+ }).bind('keyup change', function (event) {
dateInputValidator($(this));
input.val(mergeInputs(picker));

0 comments on commit 35dec5d

Please sign in to comment.