| Index: Source/devtools/front_end/elements/StylesSidebarPane.js
|
| diff --git a/Source/devtools/front_end/elements/StylesSidebarPane.js b/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| index 2335a75284daee94eb80b35568a4c0e6ce06fb6c..a79f85f7d841cad214b08d577fff06984535ff86 100644
|
| --- a/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| +++ b/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| @@ -37,7 +37,6 @@ WebInspector.StylesSidebarPane = function(requestShowCallback)
|
| WebInspector.ElementsSidebarPane.call(this, WebInspector.UIString("Styles"));
|
| this.setMinimumSize(96, 26);
|
|
|
| - this.element.addEventListener("contextmenu", this._contextMenuEventFired.bind(this), true);
|
| WebInspector.moduleSetting("colorFormat").addChangeListener(this.update.bind(this));
|
| WebInspector.moduleSetting("textEditorIndent").addChangeListener(this.update.bind(this));
|
|
|
| @@ -255,18 +254,6 @@ WebInspector.StylesSidebarPane.prototype = {
|
| },
|
|
|
| /**
|
| - * @param {!Event} event
|
| - */
|
| - _contextMenuEventFired: function(event)
|
| - {
|
| - // We start editing upon click -> default navigation to resources panel is not available
|
| - // Hence we add a soft context menu for hrefs.
|
| - var contextMenu = new WebInspector.ContextMenu(event);
|
| - contextMenu.appendApplicableItems(/** @type {!Node} */ (event.target));
|
| - contextMenu.show();
|
| - },
|
| -
|
| - /**
|
| * @param {string} propertyName
|
| */
|
| tracePropertyName: function(propertyName)
|
|
|