BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 1
    D on #7172

    Got it. Using the second code example separate the bubble div to mess-bubble and fri-bubble
    update css div’s and add calls in bpln.js

    jq( document ).on(‘bpln:new_notifications’, function(evt, data ){

    if( data.count && data.count>0 ){

    update_count_text( jq(‘#ab-pending-notifications’), data.count );

    update_count_text( jq(‘#fri-bubble’), data.count );//THIS
    update_count_text( jq(‘#mess-bubble’), data.count );//THIS