Remove needless access to 'arguments'.
This commit is contained in:
parent
ee1eec680d
commit
b779d9306a
@ -1570,7 +1570,7 @@ var TreeStyleTabBase = {
|
||||
*/
|
||||
readyToOpenChildTabNow : function TSTBase_readyToOpenChildTabNow(aFrameOrTabBrowser, aMultiple) /* PUBLIC API */
|
||||
{
|
||||
if (this.readyToOpenChildTab.apply(this, arguments)) {
|
||||
if (this.readyToOpenChildTab(aFrameOrTabBrowser, aMultiple, false)) {
|
||||
let self = this;
|
||||
this.Deferred.next(function() {
|
||||
self.stopToOpenChildTab(aFrameOrTabBrowser);
|
||||
@ -1622,7 +1622,7 @@ var TreeStyleTabBase = {
|
||||
*/
|
||||
readyToOpenNextSiblingTabNow : function TSTBase_readyToOpenNextSiblingTabNow(aFrameOrTabBrowser) /* PUBLIC API */
|
||||
{
|
||||
if (this.readyToOpenNextSiblingTab.apply(this, arguments)) {
|
||||
if (this.readyToOpenNextSiblingTab(aFrameOrTabBrowser)) {
|
||||
let self = this;
|
||||
this.Deferred.next(function() {
|
||||
self.stopToOpenChildTab(aFrameOrTabBrowser);
|
||||
@ -1660,7 +1660,7 @@ var TreeStyleTabBase = {
|
||||
readyToOpenNewTabGroupNow : function TSTBase_readyToOpenNewTabGroupNow(aFrameOrTabBrowser) /* PUBLIC API */
|
||||
{
|
||||
|
||||
if (this.readyToOpenNewTabGroup.apply(this, arguments)) {
|
||||
if (this.readyToOpenNewTabGroup(aFrameOrTabBrowser, null, null)) {
|
||||
let self = this;
|
||||
this.Deferred.next(function() {
|
||||
self.stopToOpenChildTab(aFrameOrTabBrowser);
|
||||
|
@ -977,7 +977,7 @@ TreeStyleTabBrowser.prototype = {
|
||||
catch(e) {
|
||||
dump(e+'\n'+e.stack+'\n');
|
||||
}
|
||||
return this.__treestyletab__stop.apply(this, arguments);
|
||||
return this.__treestyletab__stop.apply(this, aTab);
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user