From 75ffc69e2bcda2b43d7309e0e554ed8f624f17f0 Mon Sep 17 00:00:00 2001 From: Jono Brandel Date: Thu, 3 Mar 2011 10:45:01 -0800 Subject: [PATCH] updated enter function --- controllers/controller.number.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/controller.number.js b/controllers/controller.number.js index 36b72ce..a08ecc0 100644 --- a/controllers/controller.number.js +++ b/controllers/controller.number.js @@ -66,7 +66,7 @@ GUI.NumberController = function() { numberField.addEventListener('keydown', function(e) { var newVal; switch(e.keyCode) { - case 13: + case 13: // enter newVal = parseFloat(this.value); _this.setValue(newVal); break;