summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/view/textanalyser_input.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/view/textanalyser_input.js b/src/client/view/textanalyser_input.js
index 43fb6609..be7532f2 100644
--- a/src/client/view/textanalyser_input.js
+++ b/src/client/view/textanalyser_input.js
@@ -87,6 +87,8 @@ function textanalyser_input(spec) {
var enters = element.asEventStream('keydown').filter(key(13))
.map(function (e) {
var text;
+ e.preventDefault();
+ e.stopPropagation();
if (!analysisCompleter.handleEnter()) {
text = current_value();