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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.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/elements/StylesSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
index 3388268d2e7f16bb7ff53c944dd0dab07658b4e8..73894fbcdc9339a9448906f096cef4b1ac99002e 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
@@ -1254,9 +1254,6 @@ Elements.StylePropertiesSection = class {
if (this._checkWillCancelEditing())
return;
- if (event.target.enclosingNodeOrSelfWithNodeName('a'))
- return;
-
if (event.target.classList.contains('header') || this.element.classList.contains('read-only') ||
event.target.enclosingNodeOrSelfWithClass('media')) {
event.consume();

Powered by Google App Engine
This is Rietveld 408576698