WordPress.org

Make WordPress Core

Changeset 33088


Ignore:
Timestamp:
07/05/2015 06:19:44 PM (5 years ago)
Author:
azaozz
Message:

Fix opening closed widget areas when dragging a widget over them.
Props polevaultweb. Fixes #13524.

File:
1 edited

Legend:

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

    r33014 r33088  
    129129         */
    130130        sidebars.droppable( {
    131             tolerance: 'pointer',
     131            tolerance: 'intersect',
    132132
    133133            /**
     
    147147                    wpWidgets.hoveredSidebar = $wrap;
    148148                    $wrap.removeClass( 'closed' );
     149                    sidebars.sortable( 'refresh' );
    149150                }
    150151            },
     
    170171            containment: '#wpwrap',
    171172            tolerance: 'pointer',
     173            refreshPositions: true,
    172174            start: function( event, ui ) {
    173175                var height, $this = $(this),
Note: See TracChangeset for help on using the changeset viewer.