WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/05/2013 08:20:03 AM (7 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: fix two usability issues with touch events on mobile devices with the Featured Content slider:

  • Try to avoid the slight delay when swiping from one slide to the next.
  • Fix bug where second to last slide was animating like it was the last.

Fixes #26191.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/functions.php

    r26657 r26665  
    256256
    257257    if ( is_front_page() && 'slider' == get_theme_mod( 'featured_content_layout' ) ) {
    258         wp_enqueue_script( 'twentyfourteen-slider', get_template_directory_uri() . '/js/slider.js', array( 'jquery' ), '20131109', true );
     258        wp_enqueue_script( 'twentyfourteen-slider', get_template_directory_uri() . '/js/slider.js', array( 'jquery' ), '20131205', true );
    259259        wp_localize_script( 'twentyfourteen-slider', 'featuredSliderDefaults', array(
    260260            'prevText' => __( 'Previous', 'twentyfourteen' ),
Note: See TracChangeset for help on using the changeset viewer.