Changeset 1355
- Timestamp:
- 02/28/2015 03:26:02 AM (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
r1353 r1355 472 472 var self = this, 473 473 args = {}, 474 scroll, search, tags, sorter;474 scroll, author, search, tags, sorter; 475 475 476 476 event = event || window.event; … … 500 500 501 501 // Clean the url structure 502 if ( search = $( '#wp-filter-search-input' ).val() ) { 502 if ( author = wp.themes.Collection.prototype.currentQuery.request.author ) { 503 wp.themes.router.navigate( wp.themes.router.baseUrl( 'author/' + author ) ); 504 wp.themes.utils.title( author ); 505 } 506 else if ( search = wp.themes.Collection.prototype.currentQuery.request.search ) { 503 507 wp.themes.router.navigate( wp.themes.router.baseUrl( wp.themes.router.searchPath + search ) ); 504 508 wp.themes.utils.title( search );
Note: See TracChangeset
for help on using the changeset viewer.