Making it so pressing enter says the words 51/1751/1 1.0 1.0_branch accepted/trunk/20120924.224936 submit/trunk/20120915.000802
authorBrian Jones <brian.j.jones@intel.com>
Sat, 15 Sep 2012 00:07:28 +0000 (17:07 -0700)
committerBrian Jones <brian.j.jones@intel.com>
Sat, 15 Sep 2012 00:07:28 +0000 (17:07 -0700)
js/main.js
packaging/saythis.changes

index 3842242..7e6c8b6 100644 (file)
@@ -44,5 +44,11 @@ App = {};
             }
             console.log('Speak button clicked');
         });
+
+       $('#inputArea').keyup(function(event) {
+               if (event.keyCode === 13) {
+                       $('#speakButton').click();
+               }
+       });
     });
 })()
index 1a4baf5..536f28f 100644 (file)
@@ -1 +1,5 @@
+* Wed Sep 12 2012 bjones <None> submit/trunk/20120911.004456@9d140f6
+- Fixing spec and desktop files
+- Initial commit
+