WordPress.org

Making WordPress.org

Changeset 1394


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

WP.org Themes: Second pass at fixing script445 error in IE.

See #952.

File:
1 edited

Legend:

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

    r1393 r1394  
    7070                self = this;
    7171            self.clearSearch();
    72             self.clearFilters( new Event( 'click' ) );
     72
     73            // Clear filters.
     74            _.each( $( '.filter-group' ).find( ':checkbox' ).filter( ':checked' ), function( item ) {
     75                $( item ).prop( 'checked', false );
     76                return self.filtersChecked();
     77            });
    7378
    7479            $( '.filter-links li > a, .theme-filter' ).removeClass( this.activeClass );
Note: See TracChangeset for help on using the changeset viewer.