Magic Toolbox Posted October 12, 2015 Share Posted October 12, 2015 Hi, We've found one issue with blocktopmenu module. After window resize (which can be done via physically window resize or triggered from js) js from blocktopmenu creates multiple instances of .menu-mobile-grover https://magictoolbox.sirv.com/support/screenshots/2015-10-12-11%3A08%3A57.jpg which breaks expand/collapse functionality. Solution is quite simple. 1. Find following line in the themes/../js/modules/blocktopmenu/js/blocktopmenu.js file: $('.sf-menu > li ul').addClass('menu-mobile clearfix').parent().prepend('<span class="menu-mobile-grover"></span>'); 2. Add following code before this line: $(".sf-menu .menu-mobile-grover").remove(); Hope that will help someone. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now