Changeset 1154
- Timestamp:
- 01/16/2015 06:02:29 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
r1152 r1154 352 352 request = {}; 353 353 354 // Open the modal when matching the route for a single themes. 355 wp.themes.router.on( 'route:preview', function( slug ) { 356 this.listenTo( self.view.collection, 'query:success', function() { 357 self.view.view.expand( slug ); 358 }); 359 }); 360 354 361 wp.themes.router.on( 'route:tag', function( tag ) { 355 362 $( '#filter-id-' + tag).prop( 'checked', true );
Note: See TracChangeset
for help on using the changeset viewer.