mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
FIX: Broken similar topics
This commit is contained in:
parent
7a01d575c2
commit
9fdea6cd46
@ -12,7 +12,9 @@ class Highlighted extends RawHtml {
|
||||
}
|
||||
|
||||
decorate($html) {
|
||||
$html.highlight(this.term.split(/\s+/), { className: 'search-highlight' });
|
||||
if (this.term) {
|
||||
$html.highlight(this.term.split(/\s+/), { className: 'search-highlight' });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user