Skip to content

Multiple ajax requests - adjust buttons only inside a div? #218

@jsmoriss

Description

@jsmoriss

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions