Get new position safely
This commit is contained in:
parent
f4fb6174d2
commit
ca776a606f
@ -4049,6 +4049,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
|
||||
var newPos = -1;
|
||||
if (parentOfNext) {
|
||||
let descendants = this.getDescendantTabs(parentOfNext);
|
||||
if (descendants.length)
|
||||
newPos = descendants[descendants.length-1]._tPos;
|
||||
}
|
||||
else if (aNextTab) {
|
||||
|
Loading…
Reference in New Issue
Block a user