зеркало из https://github.com/mozilla/gecko-dev.git
Bug 498976 - Scroll the selected tab into view on mouseover when it's only partially visible. r=dao
--HG-- extra : rebase_source : 8ad50aca55a0ec462c079a7fa2c48e826eb369b3
This commit is contained in:
Родитель
64a4ab480c
Коммит
2f57305d52
|
@ -7038,6 +7038,10 @@
|
|||
let tabContainer = this.parentNode;
|
||||
let visibleTabs = tabContainer.tabbrowser.visibleTabs;
|
||||
let tabIndex = visibleTabs.indexOf(this);
|
||||
|
||||
if (this.selected)
|
||||
tabContainer._handleTabSelect();
|
||||
|
||||
if (tabIndex == 0) {
|
||||
tabContainer._beforeHoveredTab = null;
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче