You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the buttons in a BuddyPress activity loop. They recently switched to ajax calls to fetch the content of each activity, and each activity content includes a set of RRSSB buttons (to share that specific activity). The buttons used to resize fine when it was a single page load, but now that each activity content (and set of buttons) is fetched individually by ajax, the buttons no longer resize.
I cannot call rrssbInit in the result of each ajax call, as that just kills the browser. :-/ Is there a way to apply the button resize function to a container? Say a DIV with a unique CSS ID?
Thanks,
js.
The text was updated successfully, but these errors were encountered:
jsmoriss
changed the title
Multiple ajax requests - adjust buttons for a div?
Multiple ajax requests - adjust buttons only inside a div?
Sep 16, 2018
Hey guys,
I'm using the buttons in a BuddyPress activity loop. They recently switched to ajax calls to fetch the content of each activity, and each activity content includes a set of RRSSB buttons (to share that specific activity). The buttons used to resize fine when it was a single page load, but now that each activity content (and set of buttons) is fetched individually by ajax, the buttons no longer resize.
I cannot call rrssbInit in the result of each ajax call, as that just kills the browser. :-/ Is there a way to apply the button resize function to a container? Say a DIV with a unique CSS ID?
Thanks,
js.
The text was updated successfully, but these errors were encountered: