chg: [eventReport:markdownEditor] Propose hints based on substring instead of start of

the value
pull/6412/head
mokaddem 2020-10-02 15:21:22 +02:00
parent f892367e0e
commit c8b781f732
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ function hintMISPElements(cm, options) {
if (hintList.length >= maxHints) {
break
}
if (hintValue.startsWith(elementID)) {
if (hintValue.includes(elementID)) {
if (addedItems[hintUUID] === undefined) {
if (scope === 'tag') {
element = proxyMISPElements['tagname'][hintUUID]