From 6d4482882ca9e5ef72586161606a71bf98493034 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 26 Sep 2018 22:18:47 -0600 Subject: [PATCH] Update searchform.js --- resources/assets/js/components/searchform.js | 30 +++++++++++++++----- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/resources/assets/js/components/searchform.js b/resources/assets/js/components/searchform.js index e23843edf..47fd833d4 100644 --- a/resources/assets/js/components/searchform.js +++ b/resources/assets/js/components/searchform.js @@ -13,21 +13,21 @@ $(document).ready(function() { name: 'search', display: 'value', source: queryEngine, - limit: 20, + limit: 40, templates: { empty: [ - '
', - 'unable to find any matches', + '
', + 'No Results Found', '
' ].join('\n'), suggestion: function(data) { let type = data.type; - let res = null; + let res = false; switch(type) { case 'hashtag': res = '' + '