From 047f56a94a13a4dba0a5f460c41890c66d77422e Mon Sep 17 00:00:00 2001
From: Christoph Herbst <chris.p.herbst@gmail.com>
Date: Wed, 21 Feb 2018 18:23:24 +0100
Subject: [PATCH] outcomment unneeded setting of cookie
---
bp-templates/bp-legacy/js/buddypress.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bp-templates/bp-legacy/js/buddypress.js b/bp-templates/bp-legacy/js/buddypress.js
index aae0056..095e5d3 100644
a
|
b
|
jq(document).ready( function() { |
1781 | 1781 | /* Setup activity scope and filter based on the current cookie settings. */ |
1782 | 1782 | function bp_init_activity() { |
1783 | 1783 | /* Reset the page */ |
1784 | | jq.cookie( 'bp-activity-oldestpage', 1, { |
| 1784 | /*jq.cookie( 'bp-activity-oldestpage', 1, { |
1785 | 1785 | path: '/', |
1786 | 1786 | secure: ( 'https:' === window.location.protocol ) |
1787 | | } ); |
| 1787 | } );*/ |
1788 | 1788 | |
1789 | 1789 | if ( undefined !== jq.cookie('bp-activity-filter') && jq('#activity-filter-select').length ) { |
1790 | 1790 | jq('#activity-filter-select select option[value="' + jq.cookie('bp-activity-filter') + '"]').prop( 'selected', true ); |