Bug 686855 - Undeclared variable causes the tab key navigation to stop working r=dietrich

This commit is contained in:
Raymond Lee 2011-09-16 18:17:17 +01:00
parent f41d89e051
commit 19ed8ee474

View File

@ -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);