993
edições
Sem resumo de edição |
Sem resumo de edição |
||
Linha 74: | Linha 74: | ||
html += `<li class="groupTitle ${isSelected}"> ${option.group} </li>`; | html += `<li class="groupTitle ${isSelected}"> ${option.group} </li>`; | ||
option.phrases.filter(curr => curr.toLowerCase().indexOf(searchWord) > -1).map(phrase => { | option.phrases.filter(curr => curr.toLowerCase().indexOf(searchWord) > -1).map(phrase => { | ||
html += `<li onclick="updateName('${option.group}', '${option.img}', '${option.obs}')"> ${phrase} </li>`; | html += `<li onclick="updateName<!--{$id|default:''|escape:'html'}-->('${option.group}', '${option.img}', '${option.obs}')"> ${phrase} </li>`; | ||
}); | }); | ||