WordPress.org

Make WordPress Core

Ticket #15615: toggle_sldie_fix.diff

File toggle_sldie_fix.diff, 473 bytes (added by greuben, 3 years ago)

adding a delay for smooth slide

  • trunk/wp-admin/js/common.dev.js

     
    4747 
    4848        toggle : function(el) { 
    4949                var id = el.slideToggle(150, function() { 
    50                         el.css('display',''); 
     50           el.delay(150).animate( {'dispaly': ''}, 150); 
    5151                }).parent().toggleClass( 'wp-menu-open' ).attr('id'); 
    5252 
    5353                if ( id ) {