Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 1fe9118

Browse files
committed
disable search result highlighting for the moment
1 parent 8683d00 commit 1fe9118

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

frontend/Store.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ class Store extends EventEmitter {
194194
this.searchText = text;
195195
this.emit('searchText');
196196
this.emit('searchRoots');
197-
this.highlightSearchResults();
198197
if (this.searchRoots && !this.searchRoots.contains(this.selected)) {
199198
this.select(null, true);
200199
} else if (!this.searchRoots) {
@@ -206,14 +205,6 @@ class Store extends EventEmitter {
206205
}
207206
}
208207

209-
highlightSearchResults() {
210-
if (this.searchRoots && this.searchRoots.size) {
211-
this._bridge.send('highlightMany', this.searchRoots.toArray());
212-
} else {
213-
this._bridge.send('hideHighlight');
214-
}
215-
}
216-
217208
hoverClass(name: string): void {
218209
if (name === null) {
219210
this._bridge.send('hideHighlight');

0 commit comments

Comments
 (0)