diff --git a/webextensions/common/Tab.js b/webextensions/common/Tab.js index 129758acc..8f86c3a15 100644 --- a/webextensions/common/Tab.js +++ b/webextensions/common/Tab.js @@ -212,7 +212,7 @@ export default class Tab { if (state == Constants.kTAB_STATE_HIGHLIGHTED) this.element.removeAttribute('aria-selected'); } - for (const key of Object.keys(this.attributes)) { + for (const name of Object.keys(this.attributes)) { this.element.removeAttribute(name); } this.element.$TST = null;