WordPress.org

Making WordPress.org

Changeset 1257


Ignore:
Timestamp:
02/13/2015 12:21:05 AM (5 years ago)
Author:
obenland
Message:

WP.org Themes: Don't assume all secondary buttons are used for theme previews.

See #852.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/js/theme.js

    r1256 r1257  
    187187            'click .left': 'previousTheme',
    188188            'click .right': 'nextTheme',
    189             'click .button-secondary': 'preview',
    190             'keydown .button-secondary': 'preview',
    191             'touchend .button-secondary': 'preview'
     189            'click .theme-actions .button-secondary': 'preview',
     190            'keydown .theme-actions .button-secondary': 'preview',
     191            'touchend .theme-actions .button-secondary': 'preview'
    192192        },
    193193
Note: See TracChangeset for help on using the changeset viewer.