Fix indent

This commit is contained in:
YUKI Hiroshi 2016-08-26 19:44:38 +09:00
parent b6be7583d6
commit 381578a0eb

View File

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