Changeset 11887
- Timestamp:
- 03/05/2018 11:10:35 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/js/buddypress.js
r11763 r11887 438 438 jq('#buddypress li.load-more').addClass('loading'); 439 439 440 if ( null ===jq.cookie('bp-activity-oldestpage') ) {440 if ( ! jq.cookie('bp-activity-oldestpage') ) { 441 441 jq.cookie('bp-activity-oldestpage', 1, { 442 442 path: '/', … … 1739 1739 /* Setup activity scope and filter based on the current cookie settings. */ 1740 1740 function bp_init_activity() { 1741 /* Reset the page */1742 jq.cookie( 'bp-activity-oldestpage', 1, {1743 path: '/',1744 secure: ( 'https:' === window.location.protocol )1745 } );1746 1747 1741 if ( undefined !== jq.cookie('bp-activity-filter') && jq('#activity-filter-select').length ) { 1748 1742 jq('#activity-filter-select select option[value="' + jq.cookie('bp-activity-filter') + '"]').prop( 'selected', true );
Note: See TracChangeset
for help on using the changeset viewer.