mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 686855 - Undeclared variable causes the tab key navigation to stop working r=dietrich
This commit is contained in:
parent
f41d89e051
commit
19ed8ee474
@ -1215,6 +1215,7 @@ let UI = {
|
||||
let currentIndex = tabItems.indexOf(activeTab);
|
||||
|
||||
if (length > 1) {
|
||||
let newIndex;
|
||||
if (event.shiftKey) {
|
||||
if (currentIndex == 0)
|
||||
newIndex = (length - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user