summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonghun Park <jh718.park@samsung.com>2013-09-05 10:50:20 +0900
committerJoonghun Park <jh718.park@samsung.com>2013-09-05 10:55:30 +0900
commit44ee985a4fbb2e0e14fd4cf216003e0eb6208e2a (patch)
tree6fae3592becf09b622292ad0c76cd7c4daca3991
parenteb6460273d8de4cee6ad82a443a007c77b8620d9 (diff)
downloadTemporaryStorage-44ee985a4fbb2e0e14fd4cf216003e0eb6208e2a.tar.gz
TemporaryStorage-44ee985a4fbb2e0e14fd4cf216003e0eb6208e2a.tar.bz2
TemporaryStorage-44ee985a4fbb2e0e14fd4cf216003e0eb6208e2a.zip
[title] revise code to distinguish number, char key event from other key events
Change-Id: I5025000ee383e004c1d626c3af7a57dc98d5e2e9
-rwxr-xr-xjs/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js
index 5c8a201..6329584 100755
--- a/js/main.js
+++ b/js/main.js
@@ -38,7 +38,7 @@ $(document).ready(function() {
});
// disable keyboard for date input field
- $("#datePiker").on("keydown", function(e) {
+ $("#datePiker").on("keypress", function(e) {
e.preventDefault();
});