WordPress.org

Make WordPress Core

Ticket #21247: 21247.diff

File 21247.diff, 588 bytes (added by lessbloat, 22 months ago)
  • wp-admin/js/widgets.dev.js

     
    3131                        $(this).css( 'minHeight', h + 'px' ); 
    3232                }); 
    3333 
    34                 $('a.widget-action').live('click', function(){ 
     34                $('#widgets-right .widget, a.widget-action').live('click', function(){ 
    3535                        var css = {}, widget = $(this).closest('div.widget'), inside = widget.children('.widget-inside'), w = parseInt( widget.find('input.widget-width').val(), 10 ); 
    3636 
    3737                        if ( inside.is(':hidden') ) {