I have like this HTML
<li class="megamenu-less">
<a href="#" class="home-link sf-with-ul">Menu</a>
<ul class="dropdown" style="display: none;">
<li>1</li>
<li>2</li>
</ul>
</li>
When i hover on li.megamenu-less I just on .dropdown says display:block, that way my menu works on hover to show dropdown, but i need something else.
I need to that on click on .megamenu-less and then show dropdown, but the problem is that i have a lot of element in menu and i need only for that dropdown to change css, also i need to check if the menu is opened and and on click to say block or none based is it opened
I have used some sf-menu that work that way now i need to override it :(