From db600cb5b9e873a4a0e20dbb34b8183e818c6d33 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Mon, 8 Aug 2022 14:51:35 -0400 Subject: [PATCH] fx-compat: Item box: Don't set flex attribute on HTML elements --- chrome/content/zotero/elements/itemBox.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js index ea796b5d6d..5e8f6dacc3 100644 --- a/chrome/content/zotero/elements/itemBox.js +++ b/chrome/content/zotero/elements/itemBox.js @@ -1046,7 +1046,6 @@ button.setAttribute('title', Zotero.getString('pane.item.switchFieldMode.two')); lastName.setAttribute('fieldMode', '1'); button.setAttribute('onclick', "this.getRootNode().host.switchCreatorMode(this.closest('tr'), 0, false, true)"); - lastName.setAttribute('flex', '1'); delete lastName.style.width; delete lastName.style.maxWidth; @@ -1086,7 +1085,6 @@ button.setAttribute('title', Zotero.getString('pane.item.switchFieldMode.one')); lastName.setAttribute('fieldMode', '0'); button.setAttribute('onclick', "this.getRootNode().host.switchCreatorMode(this.closest('tr'), 1, false, true)"); - lastName.setAttribute('flex', '0'); // appropriately truncate lastName