fix typo on comment
This commit is contained in:
parent
2ceea79236
commit
89eb28f2d2
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ const invalidRegex = /[-_.+=?!@#$%^&*:;,{}<>\w/\\]/;
|
|||
function locateMention(value, fromIndex) {
|
||||
var index = value.indexOf(mentionToken, fromIndex);
|
||||
|
||||
// skip intervalid mention
|
||||
// Skip invalid mention
|
||||
if (index > 0 && invalidRegex.test(value.charAt(index - 1))) {
|
||||
return locateMention(value, index + 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue