Bug 1402849 - Close library panel on mid mouse click r=mikedeboer
MozReview-Commit-ID: 8AM0efs7krS
This commit is contained in:
@@ -580,6 +580,10 @@ const PanelUI = {
|
||||
if (event.button > 1 || !button._highlight) {
|
||||
return;
|
||||
}
|
||||
if (event.button == 1) {
|
||||
// Bug 1402849, close library panel on mid mouse click
|
||||
CustomizableUI.hidePanelForNode(button);
|
||||
}
|
||||
window.openUILink(button._highlight.url, event);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user