mirror of https://github.com/zulip/zulip.git
compose typeahead: Add newline and other terminal_symbols.
This commit is contained in:
parent
dd97c7e659
commit
f6071e0d90
|
@ -287,7 +287,7 @@ exports.compose_content_begins_typeahead = function (query) {
|
||||||
// already-completed object.
|
// already-completed object.
|
||||||
|
|
||||||
// We will likely want to extend this list to be more i18n-friendly.
|
// We will likely want to extend this list to be more i18n-friendly.
|
||||||
var terminal_symbols = ',.?!()[] ';
|
var terminal_symbols = ',.;?!()[] "\'\n\t';
|
||||||
if (rest !== '' && terminal_symbols.indexOf(rest[0]) === -1) {
|
if (rest !== '' && terminal_symbols.indexOf(rest[0]) === -1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue