Remove needless guard
This commit is contained in:
parent
979b38480e
commit
a829981a35
@ -473,7 +473,6 @@ var TreeStyleTabWindowHelper = {
|
||||
return result;
|
||||
};
|
||||
|
||||
if (!b.__treestyletab__beginRemoveTab) {
|
||||
b.__treestyletab__beginRemoveTab = b._beginRemoveTab;
|
||||
b._beginRemoveTab = function(aTab, ...aArgs) {
|
||||
var originalRemovingTabs = this._removingTabs;
|
||||
@ -496,7 +495,6 @@ var TreeStyleTabWindowHelper = {
|
||||
this._removingTabs = originalRemovingTabs;
|
||||
return result;
|
||||
};
|
||||
}
|
||||
|
||||
b.__treestyletab__removeCurrentTab = b.removeCurrentTab;
|
||||
b.removeCurrentTab = function(...aArgs) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user