fx-compat: Item box: Don't set flex attribute on HTML elements
This commit is contained in:
parent
78b0055206
commit
db600cb5b9
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue