mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 1600398 - middle click on 'view previous tabs' list shouldn't activate autoscroll r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D55335 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
623854adf0
commit
ab1b33c97a
@ -50,8 +50,10 @@ class AutoScrollController {
|
||||
|
||||
if (
|
||||
node instanceof content.XULElement &&
|
||||
mmScrollbarPosition &&
|
||||
(node.localName == "scrollbar" || node.localName == "scrollcorner")
|
||||
((mmScrollbarPosition &&
|
||||
(node.localName == "scrollbar" ||
|
||||
node.localName == "scrollcorner")) ||
|
||||
node.localName == "treechildren")
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user