Changeset 1393
- Timestamp:
- 03/11/2015 01:52:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/js/theme.js
r1375 r1393 67 67 68 68 sort: function( sort ) { 69 var sorter = $( '.filter-links [data-sort="' + sort + '"]' ); 70 this.clearSearch(); 71 this.clearFilters( new Event( 'click' ) ); 69 var sorter = $( '.filter-links [data-sort="' + sort + '"]'), 70 self = this; 71 self.clearSearch(); 72 self.clearFilters( new Event( 'click' ) ); 72 73 73 74 $( '.filter-links li > a, .theme-filter' ).removeClass( this.activeClass );
Note: See TracChangeset
for help on using the changeset viewer.