Commit 966272c0 authored by Dave Reid's avatar Dave Reid Committed by Damien McKenna
Browse files

Issue #3268439 by Dave Reid: Follow-up to fix the scroll height feature.

parent f22734a1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
Metatag 8.x-1.x-dev, 2022-xx-xx
-------------------------------
#3268439 by Dave Reid: Follow-up to fix the scroll height feature.


Metatag 8.x-1.20, 2022-07-12
+1 −1
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ class MetatagFirehose extends WidgetBase implements ContainerFactoryPluginInterf

    // Scroll height configuration.
    $scroll_height = $settings->get('tag_scroll_max_height');
    if (!empty($scrollheight)) {
    if (!empty($scroll_height)) {
      $form['#attached']['drupalSettings']['metatag']['max_height'] = $scroll_height;
      $form['#attached']['library'][] = 'metatag/firehose_widget';
      $element['#attributes']['class'][] = 'metatags';