diff options
Diffstat (limited to 'apps/samples/miles')
-rw-r--r-- | apps/samples/miles/miles.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/samples/miles/miles.js b/apps/samples/miles/miles.js index 8afbf21..cd61f64 100644 --- a/apps/samples/miles/miles.js +++ b/apps/samples/miles/miles.js @@ -329,6 +329,7 @@ function Miles(element, params) { var code = e.keyCode || e.which; if( code === 13 ) { e.preventDefault(); + self.chatInput.get('value'); // send button reads empty string otherwise?! self.chatSendButton.onClick(); return false; } |