we should do smooth scroll if the second argument is not given
This commit is contained in:
parent
63106f2a7f
commit
45d712c23f
@ -1222,7 +1222,10 @@ TreeStyleTabBrowser.prototype = {
|
||||
'{',
|
||||
<![CDATA[{
|
||||
var treeStyleTab = TreeStyleTabService.getTabBrowserFromChild(this).treeStyleTab;
|
||||
if (treeStyleTab && arguments[1])
|
||||
if (
|
||||
treeStyleTab &&
|
||||
(arguments.length == 1 || arguments[1])
|
||||
)
|
||||
return treeStyleTab.scrollToTab(arguments[0]);
|
||||
]]>.toString()
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user