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

Unified Diff: Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js

Issue 1187303002: [DevTools] Added missing EventListenersView addEmptyHolderIfNeeded (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 | « Source/devtools/front_end/elements/EventListenersWidget.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js
diff --git a/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js b/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js
index 6d42d405aa3ad43a34c5b44a70c72adb643e5d01..bdc30fc1ef485db7cdc82991ea7a48eb71b80851 100644
--- a/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js
+++ b/Source/devtools/front_end/sources/ObjectEventListenersSidebarPane.js
@@ -31,6 +31,7 @@ WebInspector.ObjectEventListenersSidebarPane.prototype = {
var executionContext = WebInspector.context.flavor(WebInspector.ExecutionContext);
if (!executionContext) {
this._eventListenersView.reset();
+ this._eventListenersView.addEmptyHolderIfNeeded();
return;
}
this._lastRequestedContext = executionContext;
« no previous file with comments | « Source/devtools/front_end/elements/EventListenersWidget.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698