Index: third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js |
index ae8b2454f10a844c9f49801dcb2c227d86b6c8b5..754e09290c2fc17532d2284825ee022113a0a469 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/TabbedPane.js |
@@ -1075,6 +1075,7 @@ WebInspector.TabbedPaneTab.prototype = { |
tabElement.classList.add("measuring"); |
} else { |
tabElement.addEventListener("click", this._tabClicked.bind(this), false); |
+ tabElement.addEventListener("auxclick", this._tabClicked.bind(this), false); |
dgozman
2016/07/27 20:30:43
Note that if you stop sending regular click events
Navid Zolghadr
2016/07/27 20:39:09
I was under the impression that this code in the w
dgozman
2016/07/27 20:49:27
We have old version in the cloud, which are used r
dtapuska
2016/07/28 23:41:11
We can probably polyfill for auxclick. Although yo
|
tabElement.addEventListener("mousedown", this._tabMouseDown.bind(this), false); |
tabElement.addEventListener("mouseup", this._tabMouseUp.bind(this), false); |