Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1540)

Unified Diff: Source/devtools/front_end/elements/ElementsPanel.js

Issue 676193002: Navigate between individual search matches in DevTools console (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Synchronize with origin Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/devtools/front_end/console/consoleView.css ('k') | Source/devtools/front_end/ui/UIUtils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/elements/ElementsPanel.js
diff --git a/Source/devtools/front_end/elements/ElementsPanel.js b/Source/devtools/front_end/elements/ElementsPanel.js
index 2180a44bf49f8131fcbf982c4a948ec2a7a3c96a..ad246b9844d0c31e827ec454ebc63da436ec3c22 100644
--- a/Source/devtools/front_end/elements/ElementsPanel.js
+++ b/Source/devtools/front_end/elements/ElementsPanel.js
@@ -571,7 +571,7 @@ WebInspector.ElementsPanel.prototype = {
if (treeElement) {
treeElement.highlightSearchResults(this._searchQuery);
treeElement.reveal();
- var matches = treeElement.listItemElement.getElementsByClassName("highlighted-search-result");
+ var matches = treeElement.listItemElement.getElementsByClassName(WebInspector.highlightedSearchResultClassName);
if (matches.length)
matches[0].scrollIntoViewIfNeeded();
}
« no previous file with comments | « Source/devtools/front_end/console/consoleView.css ('k') | Source/devtools/front_end/ui/UIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698