| Index: third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js b/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js
|
| index fc5a8e12ba30bf29a1349c4d264fd6f22bc19008..eeb3fcb047ca1def42d8fa0ff4bf070b91ce4d33 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/ColorSwatch.js
|
| @@ -91,8 +91,8 @@ WebInspector.ColorSwatch.prototype = {
|
| this._iconElement = root.createChild("span", "color-swatch");
|
| this._iconElement.title = WebInspector.UIString("Shift-click to change color format");
|
| this._swatchInner = this._iconElement.createChild("span", "color-swatch-inner");
|
| - this._swatchInner.addEventListener("dblclick", consumeEvent, false);
|
| - this._swatchInner.addEventListener("mousedown", consumeEvent, false);
|
| + this._swatchInner.addEventListener("dblclick", (e) => e.consume(), false);
|
| + this._swatchInner.addEventListener("mousedown", (e) => e.consume(), false);
|
| this._swatchInner.addEventListener("click", this._handleClick.bind(this), true);
|
|
|
| root.createChild("content");
|
|
|