Menu2Panel

So I think I might of figured a solution (but you might know of a neater way to implement?)

mod_menu2panel > assets > query.mmenu.js

Line 270 change -

var $btn = $( '<a class="' + cls( 'subopen' ) + '" href="#' + id + '" />' ).insertBefore( $a );
if ( !$a.is( 'a' ) )
{
$btn.addClass( cls( 'fullsubopen' ) );
}

to

var $btn = $( '<a class="' + cls( 'subopen mmenu-fullsubopen' ) + '" href="#' + id + '" />' ).insertBefore( $a );

Basically I'm forcing the class to always include "menu-fullsubopen"

Is that an ok way to implement this?
9 years 1 month ago #7 by Ant

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Hmm It's hard for me without seeing the website by myself, but adding class name to the <a> tag should be ok.
9 years 1 month ago #8 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum