Unverified Commit e86eeda5 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3094397 by oknate: Attributes key missing hash or pound sign in seven

parent a62fb310
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -246,7 +246,7 @@ function seven_form_media_library_add_form_alter(array &$form, FormStateInterfac
 * Implements hook_form_FORM_ID_alter().
 */
function seven_form_media_library_add_form_upload_alter(array &$form, FormStateInterface $form_state) {
  $form['attributes']['class'][] = 'media-library-add-form--upload';
  $form['#attributes']['class'][] = 'media-library-add-form--upload';

  if (isset($form['container'])) {
    $form['container']['#attributes']['class'][] = 'media-library-add-form__input-wrapper';