diff --git a/public/src/client/search.js b/public/src/client/search.js index 44477cd06d..900a4d1d6d 100644 --- a/public/src/client/search.js +++ b/public/src/client/search.js @@ -116,19 +116,13 @@ define('forum/search', ['search', 'autocomplete'], function(searchModule, autoco if (!searchQuery) { return; } - var searchTerms = searchQuery.trim().split(' '); - var regexes = []; - for (var i=0; i' + regexes[i].term + ''); - } + var text = result.html().replace(regex, '$1'); result.html(text).find('img').addClass('img-responsive'); }); }