mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
REFACTOR: value assigned to cp here is unused. (#9672)
This commit is contained in:
parent
930989d462
commit
a2109bd9b2
@ -492,7 +492,6 @@ export default function(options) {
|
|||||||
(!prev || allowedLettersRegex.test(prev))
|
(!prev || allowedLettersRegex.test(prev))
|
||||||
) {
|
) {
|
||||||
completeStart = c;
|
completeStart = c;
|
||||||
cp = completeEnd = initial;
|
|
||||||
term = me[0].value.substring(c + 1, initial);
|
term = me[0].value.substring(c + 1, initial);
|
||||||
updateAutoComplete(dataSource(term, options));
|
updateAutoComplete(dataSource(term, options));
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user