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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/WorkspaceMappingTip.js

Issue 2527763003: [DevTools] Turn links into spans to prevent default behavior. (Closed)
Patch Set: fixed comments Created 4 years, 1 month 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
Index: third_party/WebKit/Source/devtools/front_end/sources/WorkspaceMappingTip.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/WorkspaceMappingTip.js b/third_party/WebKit/Source/devtools/front_end/sources/WorkspaceMappingTip.js
index fdfe1aaae4faf2575d8760570dd6c93bd1d1ba20..83aedaf01493e018117006ad674e00219e13a06d 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/WorkspaceMappingTip.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/WorkspaceMappingTip.js
@@ -141,7 +141,7 @@ Sources.WorkspaceMappingTip = class {
infobar.createDetailsRowMessage(Common.UIString(
'You can map files in your workspace to the ones loaded over the network. As a result, changes made in DevTools will be persisted to disk.'));
infobar.createDetailsRowMessage(Common.UIString('Use context menu to establish the mapping at any time.'));
- var anchor = createElementWithClass('a', 'link');
+ var anchor = createElementWithClass('span', 'link');
anchor.textContent = Common.UIString('Establish the mapping now...');
anchor.addEventListener('click', this._establishTheMapping.bind(this, uiSourceCode), false);
infobar.createDetailsRowMessage('').appendChild(anchor);

Powered by Google App Engine
This is Rietveld 408576698