diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-14 20:35:22 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-14 20:35:22 +0200 |
| commit | 33b9504cf7eeb72bac43418f2f5a8d6a6721d1ce (patch) | |
| tree | a650488846f6e843b61d515f039fd835d5c68ed4 /src | |
| parent | 89e66ae0562c65a214574b3680fc804773656cf0 (diff) | |
Fixes #204: analyzeSentence on completer change; this highlights the question of how to declaratively encode the event flow
Diffstat (limited to 'src')
| -rw-r--r-- | src/textanalysis.ui.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textanalysis.ui.js b/src/textanalysis.ui.js index e53ad9a9..a30fe43d 100644 --- a/src/textanalysis.ui.js +++ b/src/textanalysis.ui.js @@ -130,6 +130,8 @@ return { case 13: if (!analysisCompleter.handleEnter()) { submitNewSentence(); + } else { + analyzeSentence(element.val(), false); } ret = false; break; |
