WordPress.org

Making WordPress.org

Changeset 1373


Ignore:
Timestamp:
03/04/2015 02:50:06 AM (7 years ago)
Author:
obenland
Message:

WP.org Themes: Clear filters when switching views.

Fixes #921.

File:
1 edited

Legend:

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

    r1356 r1373  
    6969            var sorter = $( '.filter-links [data-sort="' + sort + '"]' );
    7070            this.clearSearch();
     71            this.clearFilters( new Event( 'click' ) );
    7172
    7273            $( '.filter-links li > a, .theme-filter' ).removeClass( this.activeClass );
     
    597598            var request = {};
    598599
     600            wp.themes.view.Installer.prototype.clearFilters( new Event( 'click' ) );
     601
    599602            request.search = value;
    600603
Note: See TracChangeset for help on using the changeset viewer.