Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- (function($) {
- $(document).ready(function() {
- var menuitem = $('#mobile_menu .menu-item-has-children');
- menuitem.each(function(){
- var link = $(this).find('a');
- link.click(function(){
- $('#mobile_menu .menu-item-has-children').removeClass('visible');
- $(this).parent().addClass('visible')
- })
- })
- });
- })(jQuery);
- </script>
Advertisement
Add Comment
Please, Sign In to add comment