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

Unified Diff: Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js

Issue 1185373002: DevTools: fix DOMBreakpoints checkboxes in elements panel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
diff --git a/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js b/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
index 378f2f10ce67b5fc1b394460ccdc6a050cc3c8ad..6ad8ff13cabdd2214861085771da0b81b42f9d89 100644
--- a/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
+++ b/Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js
@@ -223,10 +223,10 @@ WebInspector.DOMBreakpointsSidebarPane.prototype = {
element._type = type;
element.addEventListener("contextmenu", this._contextMenu.bind(this, node, type), true);
- var checkboxElement = createCheckboxLabel("", enabled);
- checkboxElement.addEventListener("click", this._checkboxClicked.bind(this, node, type), false);
- element._checkboxElement = checkboxElement;
- element.appendChild(checkboxElement);
+ var checkboxLabel = createCheckboxLabel("", enabled);
+ checkboxLabel.addEventListener("click", this._checkboxClicked.bind(this, node, type), false);
+ element._checkboxElement = checkboxLabel.checkboxElement;
+ element.appendChild(checkboxLabel);
var labelElement = createElement("span");
element.appendChild(labelElement);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698