Unverified Commit 6c8d11fc authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3099441 by pjudge, peterwcm, Spokje: Missing hash in attributes key in Seven (another one)

(cherry picked from commit aeeb3bcd)
parent 275d8b78
Loading
Loading
Loading
Loading
+1 −1
Changes for core/themes/seven/seven.theme: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -257,7 +257,7 @@ function seven_form_media_library_add_form_upload_alter(array &$form, FormStateI
 * Implements hook_form_FORM_ID_alter().
 */
function seven_form_media_library_add_form_oembed_alter(array &$form, FormStateInterface $form_state) {
  $form['attributes']['class'][] = 'media-library-add-form--oembed';
  $form['#attributes']['class'][] = 'media-library-add-form--oembed';

  // If no media items have been added yet, add a couple of styling classes
  // to the initial URL form.