( function( $ ) { $('.mini-toggle').on('click', function(){ $(this).parent().toggleClass('menushow'); }); }( jQuery ) );