From ce962ca56786b8c8dd9a156cb1ef675c5a734af8 Mon Sep 17 00:00:00 2001 From: Travis Chase Date: Tue, 1 Sep 2015 11:15:14 -0500 Subject: [PATCH] Updates to matches --- src/assets/js/search.js | 3 +-- src/icons.html | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/assets/js/search.js b/src/assets/js/search.js index 1353ffe2e..28767996b 100644 --- a/src/assets/js/search.js +++ b/src/assets/js/search.js @@ -70,7 +70,7 @@ $(function() { this.pullMatches(matches, this.result._highlightResult.aliases); this.pullMatches(matches, this.result._highlightResult.synonyms); - return this.template({ result: this.result, matches: matches.join(", ") }); + return this.template({ result: this.result, matches: matches }); }, pullMatches: function(matches, list) { @@ -84,7 +84,6 @@ $(function() { } }); - var $searchViewElement = $("[data-view=search]"); if ($searchViewElement.length > 0) { diff --git a/src/icons.html b/src/icons.html index 215eecdf9..2f1513fcf 100644 --- a/src/icons.html +++ b/src/icons.html @@ -87,7 +87,10 @@ relative_path: ../