Difference between revisions of "Template:Example2"

Line 22: Line 22:
 
$(".menu_button").click(function(){
 
$(".menu_button").click(function(){
 
$(this).next('.submenu_wrapper').fadeToggle(400);
 
$(this).next('.submenu_wrapper').fadeToggle(400);
$( this > '.expand_collapse_icon' ).toggleClass("open");
+
$( this ).children( '.expand_collapse_icon').toggleClass("open");
 
});
 
});
  

Revision as of 16:35, 9 March 2017