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