Skip to content

Commit cfa8b15

Browse files
committed
change weight of generate button
1 parent a00570b commit cfa8b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/openai_alt/openai_alt.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function openai_alt_image_field_process($element, &$form_state, $form) {
4040
'data-field-name' => $field_name,
4141
'data-delta' => $delta,
4242
],
43-
'#weight' => 50, // Ensure the button appears after the alt field.
43+
'#weight' => -1.5, // Ensure the button appears after the alt field.
4444
];
4545
}
4646

0 commit comments

Comments
 (0)