Make WordPress Core


Ignore:
Timestamp:
04/11/2012 02:20:51 AM (13 years ago)
Author:
azaozz
Message:

Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/link-add.php

    r19712 r20433  
    2424wp_enqueue_script('xfn');
    2525
     26if ( wp_is_mobile() )
     27    wp_enqueue_script( 'jquery-touch-punch' );
     28
    2629$link = get_default_link_to_edit();
    2730include('./edit-link-form.php');
Note: See TracChangeset for help on using the changeset viewer.