Simplify
This commit is contained in:
parent
0dab3f30ec
commit
355b3f181b
@ -3244,10 +3244,10 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
|
|||||||
|
|
||||||
this._addedCountInThisLoop++;
|
this._addedCountInThisLoop++;
|
||||||
if (!this._addedCountClearTimer) {
|
if (!this._addedCountClearTimer) {
|
||||||
this._addedCountClearTimer = this.window.setTimeout(function(aSelf) {
|
this._addedCountClearTimer = this.window.setTimeout((function() {
|
||||||
aSelf._addedCountInThisLoop = 0;
|
this._addedCountInThisLoop = 0;
|
||||||
aSelf._addedCountClearTimer = null;
|
this._addedCountClearTimer = null;
|
||||||
}, 0, this);
|
}).bind(this), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.readiedToAttachMultiple) {
|
if (!this.readiedToAttachMultiple) {
|
||||||
|
Loading…
Reference in New Issue
Block a user