Fix indent
This commit is contained in:
parent
b6be7583d6
commit
381578a0eb
@ -6547,24 +6547,24 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let postProcess = (function(aProcessedTabIndex) {
|
let postProcess = (function(aProcessedTabIndex) {
|
||||||
if (shouldResetSelection) {
|
if (shouldResetSelection) {
|
||||||
if ('MultipleTabService' in sourceWindow)
|
if ('MultipleTabService' in sourceWindow)
|
||||||
sourceWindow.MultipleTabService.setSelection(aTab, true);
|
sourceWindow.MultipleTabService.setSelection(aTab, true);
|
||||||
else
|
else
|
||||||
aTab.setAttribute('multiselected', true);
|
aTab.setAttribute('multiselected', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
let newIndex = aOptions.insertBefore ?
|
let newIndex = aOptions.insertBefore ?
|
||||||
aOptions.insertBefore._tPos :
|
aOptions.insertBefore._tPos :
|
||||||
lastExistingTab._tPos + aProcessedTabIndex + 1 ;
|
lastExistingTab._tPos + aProcessedTabIndex + 1 ;
|
||||||
if (newIndex > aTab._tPos)
|
if (newIndex > aTab._tPos)
|
||||||
newIndex--;
|
newIndex--;
|
||||||
|
|
||||||
this.internallyTabMovingCount++;
|
this.internallyTabMovingCount++;
|
||||||
if (newIndex != aTab._tPos)
|
if (newIndex != aTab._tPos)
|
||||||
targetBrowser.moveTabTo(aTab, newIndex);
|
targetBrowser.moveTabTo(aTab, newIndex);
|
||||||
this.collapseExpandTab(aTab, false, true);
|
this.collapseExpandTab(aTab, false, true);
|
||||||
this.internallyTabMovingCount--;
|
this.internallyTabMovingCount--;
|
||||||
}).bind(this);
|
}).bind(this);
|
||||||
|
|
||||||
if (promisedDuplicatedTabs.length)
|
if (promisedDuplicatedTabs.length)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user