Widgets: Add click-to-add widgets to the bottom (not top) of the target sidebar.
fixes #25821. git-svn-id: https://develop.svn.wordpress.org/trunk@26696 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ddc9ed51e8
commit
3831c95a04
@ -433,7 +433,7 @@ wpWidgets = {
|
||||
// Open the widgets container
|
||||
sidebar.closest( '.widgets-holder-wrap' ).removeClass('closed');
|
||||
|
||||
sidebar.find('.sidebar-description').after( widget );
|
||||
sidebar.append( widget );
|
||||
sidebar.sortable('refresh');
|
||||
|
||||
wpWidgets.save( widget, 0, 0, 1 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user