mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 01:25:06 +08:00
This reverts commit c74f116a48
.
Unfortunately it appears to be making mention autocomplete fail
This commit is contained in:
parent
d41aa5e9f5
commit
f1701764a6
|
@ -580,7 +580,7 @@ export default function (options) {
|
|||
}
|
||||
|
||||
// If we've backspaced past the beginning, cancel unless no key
|
||||
if (cp - 1 <= completeStart && options.key) {
|
||||
if (cp <= completeStart && options.key) {
|
||||
closeAutocomplete();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user