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

Unified Diff: Source/devtools/front_end/documentation/DocumentationView.js

Issue 659573005: DevTools: NetworkPanel: show link where resource timing is explained. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/components/helpScreen.css ('k') | Source/devtools/front_end/inspectorStyle.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/documentation/DocumentationView.js
diff --git a/Source/devtools/front_end/documentation/DocumentationView.js b/Source/devtools/front_end/documentation/DocumentationView.js
index 5f2a0c479fcc2c427464b1be907451df80941f35..3393e2aaaa99e8a8ac2f7c79307e5d3c036f7173 100644
--- a/Source/devtools/front_end/documentation/DocumentationView.js
+++ b/Source/devtools/front_end/documentation/DocumentationView.js
@@ -253,10 +253,7 @@ WebInspector.DocumentationView.Renderer.prototype = {
element = createElement("span");
break;
case elementTypes.Link:
- element = createElementWithClass("a", "documentation-link");
- element.href = article.url();
- if (!article.children().length)
- element.textContent = article.url();
+ element = WebInspector.createAnchor(article.url(), article.children().length ? "" : article.url(), true);
break;
case elementTypes.Code:
element = createElementWithClass("span", "documentation-code-tag");
@@ -426,4 +423,4 @@ WebInspector.DocumentationView.ContextMenuProvider.prototype = {
return token ? line.substring(token.startColumn, token.endColumn) : null;
}
}
-}
+}
« no previous file with comments | « Source/devtools/front_end/components/helpScreen.css ('k') | Source/devtools/front_end/inspectorStyle.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698