diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index d00dd4c315e1..f98afd9153a2 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -6041,20 +6041,17 @@ false { - this._closeButtonsUpdatePending = false; - this.setAttribute("closebuttons", "activetab"); - }); - return; - } - // Wait until after the next paint to get current layout data from // getBoundsWithoutFlushing. window.requestAnimationFrame(() => {