Because `$element->children` does not exist in an nav menu item, we never set the `has-children` modifier. Use the fix from IM Sweden.
Because
$element->childrendoes not exist in an nav menu item, we never set thehas-childrenmodifier.Use the fix from IM Sweden.