Making WordPress.org

Changeset 1428


Ignore:
Timestamp:
03/19/2015 09:03:02 PM (10 years ago)
Author:
obenland
Message:

WP.org Themes: Don't try to advance modal themes from the preview.

Avoids a bug where previewed themes could only be advanced once.

Fixes #901.

File:
1 edited

Legend:

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

    r1417 r1428  
    313313            // for `theme:next` and `theme:previous` events.
    314314            this.listenTo( preview, 'theme:next', function() {
    315                 this.trigger( 'theme:next' );
    316 
    317315                // Keep local track of current theme model.
    318316                current = self.model;
     
    340338            })
    341339                .listenTo( preview, 'theme:previous', function() {
    342                     this.trigger( 'theme:previous' );
    343 
    344340                    // Keep track of current theme model.
    345341                    current = self.model;
Note: See TracChangeset for help on using the changeset viewer.