Fix indent
This commit is contained in:
parent
b3872bf24a
commit
23aeb5b243
@ -148,17 +148,17 @@ var TreeStyleTabWindowHelper = {
|
|||||||
)
|
)
|
||||||
aObserver = aObserver.tabContainer;
|
aObserver = aObserver.tabContainer;
|
||||||
|
|
||||||
aObserver.__treestyletab__getDropEffectForTabDrag = aObserver._getDropEffectForTabDrag;
|
aObserver.__treestyletab__getDropEffectForTabDrag = aObserver._getDropEffectForTabDrag;
|
||||||
aObserver._getDropEffectForTabDrag = function(...aArgs) {
|
aObserver._getDropEffectForTabDrag = function(...aArgs) {
|
||||||
var effects = aObserver.__treestyletab__getDropEffectForTabDrag.call(this, ...aArgs);
|
var effects = aObserver.__treestyletab__getDropEffectForTabDrag.call(this, ...aArgs);
|
||||||
if (effects === 'copy' || effects === 'move') {
|
if (effects === 'copy' || effects === 'move') {
|
||||||
let TSTTabBrowser = this instanceof Element ? (this.tabbrowser || this) : gBrowser ;
|
let TSTTabBrowser = this instanceof Element ? (this.tabbrowser || this) : gBrowser ;
|
||||||
var TST = TSTTabBrowser.treeStyleTab
|
var TST = TSTTabBrowser.treeStyleTab
|
||||||
if (!TST.tabbarDNDObserver.canDropTab(aArgs[0]))
|
if (!TST.tabbarDNDObserver.canDropTab(aArgs[0]))
|
||||||
effects = 'none';
|
effects = 'none';
|
||||||
}
|
}
|
||||||
return effects;
|
return effects;
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
overrideGlobalFunctions : function TSTWH_overrideGlobalFunctions()
|
overrideGlobalFunctions : function TSTWH_overrideGlobalFunctions()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user