зеркало из https://github.com/mozilla/gecko-dev.git
Bug 511085: selecting a result with the keyboard in the awesome bar should put in into view [r=mark.finkle]
This commit is contained in:
Родитель
7d2d05b86d
Коммит
102bebd960
|
@ -117,6 +117,7 @@
|
||||||
if (item) {
|
if (item) {
|
||||||
this._selectedItem = item;
|
this._selectedItem = item;
|
||||||
this._styleItem(this._selectedItem, true);
|
this._styleItem(this._selectedItem, true);
|
||||||
|
this._scrollBoxObject.ensureElementIsVisible(this._selectedItem);
|
||||||
}
|
}
|
||||||
|
|
||||||
return this._selectedIndex = val;
|
return this._selectedIndex = val;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче