diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 576af9a1..5225f9d2 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -1209,7 +1209,7 @@ catch(e) { } this.partTab(tab, true); } - if (!nextFocusedTab) { + else if (!nextFocusedTab) { nextFocusedTab = this.getNextSiblingTab(tab); }