Skip to:
Content

BuddyPress.org

Changeset 12909


Ignore:
Timestamp:
04/27/2021 10:58:16 AM (6 months ago)
Author:
imath
Message:

BP Nouveau: restrict RSS link dynamic generation to activity directory

See #8454
Fixes #8463

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/js/buddypress-activity.js

    r12907 r12909  
    840840            var rssLink = data.response.feed_url || '';
    841841
    842             if ( rssLink && $( '#activity-rss-feed' ).length ) {
     842            if ( rssLink && $( 'body:not(.bp-user) #activity-rss-feed' ).length ) {
    843843                $( '#activity-rss-feed' ).find( 'a' ).first().prop( 'href', rssLink );
    844844            }
Note: See TracChangeset for help on using the changeset viewer.