fixed bug in function binding causing trimWord to slip to end word of post
Этот коммит содержится в:
@@ -564,7 +564,7 @@ export function textToJsx(textin, options) {
|
||||
key={word + i + z + '_hash'}
|
||||
className={'theme ' + mClass + highlightSearchClass}
|
||||
href='#'
|
||||
onClick={() => searchForTerm(trimWord)} //eslint-disable-line no-loop-func
|
||||
onClick={searchForTerm.bind(this, trimWord)} //eslint-disable-line no-loop-func
|
||||
>
|
||||
{trimWord}
|
||||
</a>
|
||||
|
||||
Ссылка в новой задаче
Block a user