| Index: third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js b/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js
|
| index 88b1c715b82e048e255f9d9f50713bfc6dc1d094..99c432ca8991e90d7144b2f0620d2b4622dfb71f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js
|
| @@ -61,7 +61,7 @@ WebInspector.SoftContextMenu.prototype = {
|
| this.element.style.left = (this._parentMenu ? x - subMenuOverlap : x) + "px";
|
|
|
| this._contextMenuElement.tabIndex = 0;
|
| - this._contextMenuElement.addEventListener("mouseup", consumeEvent, false);
|
| + this._contextMenuElement.addEventListener("mouseup", (e) => e.consume(), false);
|
| this._contextMenuElement.addEventListener("keydown", this._menuKeyDown.bind(this), false);
|
|
|
| for (var i = 0; i < this._items.length; ++i)
|
|
|