From 6adcd16ee44bd654b43293489e2899557d9c0f74 Mon Sep 17 00:00:00 2001 From: Brian Jones Date: Fri, 14 Sep 2012 17:07:28 -0700 Subject: [PATCH] Making it so pressing enter says the words --- js/main.js | 6 ++++++ packaging/saythis.changes | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/js/main.js b/js/main.js index 3842242..7e6c8b6 100644 --- a/js/main.js +++ b/js/main.js @@ -44,5 +44,11 @@ App = {}; } console.log('Speak button clicked'); }); + + $('#inputArea').keyup(function(event) { + if (event.keyCode === 13) { + $('#speakButton').click(); + } + }); }); })() diff --git a/packaging/saythis.changes b/packaging/saythis.changes index 1a4baf5..536f28f 100644 --- a/packaging/saythis.changes +++ b/packaging/saythis.changes @@ -1 +1,5 @@ +* Wed Sep 12 2012 bjones submit/trunk/20120911.004456@9d140f6 +- Fixing spec and desktop files +- Initial commit + -- 2.7.4