Commit 13e5b848 authored by Rob Carr's avatar Rob Carr Committed by Joshua Walker
Browse files

Issue #2864204 by dsdeiz, robcarr, ricksta: doesn't work - only simple expanding works

parent e79ea6e2
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -8,3 +8,15 @@ responsive_menus_simple:
  dependencies:
    - core/jquery.once
    - core/drupal

mean_menu:
  version: VERSION
  js:
    styles/meanMenu/jquery.meanmenu.js: {}
    styles/meanMenu/responsive_menus_mean_menu.js: {}
  css:
    component:
      styles/meanMenu/meanmenu.css: {}
  dependencies:
    - core/jquery.once
    - core/drupal
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ class MeanMenu extends ResponsiveMenusPluginBase implements ResponsiveMenusPlugi
      '#type'          => 'textarea',
      '#title'         => $this->t('Text or HTML for trigger button'),
      '#default_value' => $this->getSetting('responsive_menus_mean_menu_trigger_txt'),
      '#description'   => $this->t('Default of 3 spans will show the triple bars (!bars).', ['!bars' => '☰']),
      '#description'   => $this->t('Default of 3 spans will show the triple bars (@bars).', ['@bars' => '☰']),
    ];

    $form['responsive_menus_mean_menu_close_txt'] = [
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
          }
        });
        // Call meanmenu() with our custom settings.
        $(iteration.selectors).once('responsive-menus-mean-menu', function() {
        $(iteration.selectors).once('responsive-menus-mean-menu').each(function() {
          $(this).meanmenu({
            meanMenuContainer: iteration.container || "body",
            meanMenuClose: iteration.close_txt || "X",