WordPress.org

Make WordPress Core

Changeset 26696


Ignore:
Timestamp:
12/05/2013 10:26:45 PM (7 years ago)
Author:
nacin
Message:

Widgets: Add click-to-add widgets to the bottom (not top) of the target sidebar.

fixes #25821.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/widgets.js

    r26695 r26696  
    434434        sidebar.closest( '.widgets-holder-wrap' ).removeClass('closed');
    435435
    436         sidebar.find('.sidebar-description').after( widget );
     436        sidebar.append( widget );
    437437        sidebar.sortable('refresh');
    438438
Note: See TracChangeset for help on using the changeset viewer.