Fix indent

This commit is contained in:
YUKI Hiroshi 2015-11-06 13:37:36 +09:00
parent 7f82809997
commit 9f14f594de

View File

@ -582,11 +582,11 @@ var TreeStyleTabWindowHelper = {
if (!scrollbox.__treestyletab__ensureElementIsVisible) {
scrollbox.__treestyletab__ensureElementIsVisible = scrollbox.ensureElementIsVisible;
scrollbox.ensureElementIsVisible = function(...aArgs) {
if (b.treeStyleTab.shouldCancelEnsureElementIsVisible())
return;
let shouldScrollNow = aArgs[1] === false;
if (b.treeStyleTab.animationEnabled && !shouldScrollNow)
return b.treeStyleTab.scrollToTab(aArgs[0]);
if (b.treeStyleTab.shouldCancelEnsureElementIsVisible())
return;
let shouldScrollNow = aArgs[1] === false;
if (b.treeStyleTab.animationEnabled && !shouldScrollNow)
return b.treeStyleTab.scrollToTab(aArgs[0]);
this.__treestyletab__ensureElementIsVisible.apply(this, aArgs);
};
}