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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js

Issue 2519213002: [DevTools] Remove preventFollow and special checks for links throughout frontend. (Closed)
Patch Set: 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/console/ConsoleViewMessage.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
index 870b0c32978ed0ef91e7b4ab3eab730442634891..b968a56f6cd79e4bcdddd4336b9c7915a0c569ad 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
@@ -330,8 +330,7 @@ Console.ConsoleViewMessage = class {
* @param {?Event} event
*/
function toggleStackTrace(event) {
- var linkClicked = event.target && event.target.enclosingNodeOrSelfWithNodeName('a');
- if (event.target.hasSelection() || linkClicked)
+ if (event.target.hasSelection())
return;
expandStackTrace(stackTraceElement.classList.contains('hidden'));
event.consume();

Powered by Google App Engine
This is Rietveld 408576698