mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
FIX: Broken similar topics
This commit is contained in:
parent
7a01d575c2
commit
9fdea6cd46
@ -12,9 +12,11 @@ class Highlighted extends RawHtml {
|
||||
}
|
||||
|
||||
decorate($html) {
|
||||
if (this.term) {
|
||||
$html.highlight(this.term.split(/\s+/), { className: 'search-highlight' });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function createSearchResult(type, linkField, fn) {
|
||||
return createWidget(`search-result-${type}`, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user