diff options
author | Lisa Junger <ljunger@thoughtworks.com> | 2015-03-25 11:49:49 +0100 |
---|---|---|
committer | Lisa Junger <ljunger@thoughtworks.com> | 2015-03-25 11:49:49 +0100 |
commit | 1d03082ca064744116ac625766aeac4b41ff82f7 (patch) | |
tree | deaa931da75e14111cc510ba06c9e3dd38701a89 /web-ui/app/js/search/results_highlighter.js | |
parent | 4cdfcbe713b804442de651da9df9b560ede0fc5e (diff) |
Resets highlighting on search_trigger.
-Issue #291.
Diffstat (limited to 'web-ui/app/js/search/results_highlighter.js')
-rw-r--r-- | web-ui/app/js/search/results_highlighter.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web-ui/app/js/search/results_highlighter.js b/web-ui/app/js/search/results_highlighter.js index 9109bca4..2c7d1cc7 100644 --- a/web-ui/app/js/search/results_highlighter.js +++ b/web-ui/app/js/search/results_highlighter.js @@ -60,6 +60,7 @@ define( this.after('initialize', function () { this.on(document, events.search.perform, this.getKeywordsSearch); this.on(document, events.ui.tag.select, this.clearHighlights); + this.on(document, events.search.resetHighlight, this.clearHighlights); this.on(document, events.search.highlightResults, this.highlightResults); }); |