mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-27 18:10:58 +00:00
Fix compose autosuggest always lowercasing token
This commit is contained in:
parent
585545d0d5
commit
390a65a0cd
|
|
@ -28,7 +28,7 @@ const textAtCursorMatchesToken = (str, caretPosition, searchTokens) => {
|
|||
return [null, null];
|
||||
}
|
||||
|
||||
word = word.trim().toLowerCase();
|
||||
word = word.trim();
|
||||
|
||||
if (word.length > 0) {
|
||||
return [left + 1, word];
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ const textAtCursorMatchesToken = (str, caretPosition) => {
|
|||
return [null, null];
|
||||
}
|
||||
|
||||
word = word.trim().toLowerCase();
|
||||
word = word.trim();
|
||||
|
||||
if (word.length > 0) {
|
||||
return [left + 1, word];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user