mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Close emoji autocomplete when the opening colon : is removed (#14102)
This commit is contained in:
@@ -580,7 +580,7 @@ export default function (options) {
|
||||
}
|
||||
|
||||
// If we've backspaced past the beginning, cancel unless no key
|
||||
if (cp <= completeStart && options.key) {
|
||||
if (cp - 1 <= completeStart && options.key) {
|
||||
closeAutocomplete();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user