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

Unified Diff: Source/devtools/front_end/ResponsiveDesignView.js

Issue 340513003: DevTools: Add JSDoc for static methods, fix JSDoc types and induced errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
Index: Source/devtools/front_end/ResponsiveDesignView.js
diff --git a/Source/devtools/front_end/ResponsiveDesignView.js b/Source/devtools/front_end/ResponsiveDesignView.js
index 19d257f77fbdaae6ba624b911eb8ead49e27b702..701e92f34d9b970f508745768f8f85fa4fbd43c0 100644
--- a/Source/devtools/front_end/ResponsiveDesignView.js
+++ b/Source/devtools/front_end/ResponsiveDesignView.js
@@ -384,7 +384,7 @@ WebInspector.ResponsiveDesignView.prototype = {
this._expandButton = this._expandSection.createChild("div", "responsive-design-expand");
this._expandButton.createChild("div", "responsive-design-icon responsive-design-icon-expand");
this._expandButton.createChild("span");
- this._expandButton.addEventListener("click", this._toggleToolbarExpanded.bind(this));
+ this._expandButton.addEventListener("click", this._toggleToolbarExpanded.bind(this), false);
WebInspector.settings.responsiveDesign.toolbarExpanded.addChangeListener(this._toolbarExpandedChanged, this);
// Device

Powered by Google App Engine
This is Rietveld 408576698