Commit a1ded5a1 authored by Dylan Rolfe's avatar Dylan Rolfe Committed by mehrpadin
Browse files

Issue #2085723 by roflcopterDorrie: Superfish Menu adding SF-no-children to...

Issue #2085723 by roflcopterDorrie: Superfish Menu adding SF-no-children to classes after updating content
parent 187b826b
Loading
Loading
Loading
Loading
+1 −1
Changes for superfish.module: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2284,7 +2284,7 @@ function theme_superfish_build($variables) {

      $expanded = ($sfsettings['expanded'] == 1) ? (($menu_item['link']['expanded'] == 1) ? TRUE : FALSE) : TRUE;

      if (!empty($menu_item['link']['has_children']) && !empty($menu_item['below']) && $depth != 0 && $expanded === TRUE) {
      if (!empty($menu_item['below']) && $depth != 0 && $expanded === TRUE) {

        // Megamenu is still beta, there is a good chance this will be changed.
        if (!empty($settings['megamenu_exclude'])) {