Make WordPress Core

Changeset 32689


Ignore:
Timestamp:
06/03/2015 10:58:52 PM (10 years ago)
Author:
johnbillion
Message:

Switch to pointer tolerance for improved drag and drop behaviour when reordering widgets.

Props jkudish, MikeHansenMe.
Fixes #20791

Location:
trunk/src/wp-admin/js
Files:
2 edited

Legend:

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

    r32649 r32689  
    16071607                handle: '.widget-top',
    16081608                axis: 'y',
     1609                tolerance: 'pointer',
    16091610                connectWith: '.accordion-section-content:has(.customize-control-sidebar_widgets)',
    16101611                update: function() {
  • trunk/src/wp-admin/js/widgets.js

    r32480 r32689  
    125125            distance: 2,
    126126            containment: '#wpwrap',
     127            tolerance: 'pointer',
    127128            start: function( event, ui ) {
    128129                var height, $this = $(this),
Note: See TracChangeset for help on using the changeset viewer.