Skip to content

Commit 49dec0b

Browse files
authored
Merge pull request #36 from keiserjb/1.x-1.x
change button weight
2 parents b3748e2 + 079c05f commit 49dec0b

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)