WordPress.org

Make WordPress Core

Ticket #20557: 20557-revised.diff

File 20557-revised.diff, 416 bytes (added by georgestephanis, 6 years ago)

Please confirm, but this should apply the change only on 'mobile' (touch screen) devices.

  • wp-admin/js/postbox.dev.js

     
    7171                                items: '.postbox',
    7272                                handle: '.hndle',
    7373                                cursor: 'move',
     74                                delay: ( $('body').hasClass('mobile') ? 200 : 0 ),
    7475                                distance: 2,
    7576                                tolerance: 'pointer',
    7677                                forcePlaceholderSize: true,