FIX: Broken similar topics

This commit is contained in:
Robin Ward 2016-04-26 17:54:52 -04:00
parent 7a01d575c2
commit 9fdea6cd46
No known key found for this signature in database
GPG Key ID: 0E091E2B4ED1B83D

View File

@ -12,8 +12,10 @@ class Highlighted extends RawHtml {
} }
decorate($html) { decorate($html) {
if (this.term) {
$html.highlight(this.term.split(/\s+/), { className: 'search-highlight' }); $html.highlight(this.term.split(/\s+/), { className: 'search-highlight' });
} }
}
} }
function createSearchResult(type, linkField, fn) { function createSearchResult(type, linkField, fn) {