Ajax doesn't respect link-class param
-
I have initiated the button in custom place with this:
bp_follow_add_follow_button(array( 'leader_id' => $user_id, 'follower_id' => bp_loggedin_user_id(), 'link_class' => 'btn btn-primary btn-xs' ));
Needed to tweak js file, as I’m out of this scope:
var profileHeader = jq("#item-buttons"); var memberLoop = jq("#members-list"); var groupMemberLoop = jq("#member-list"); // groan!
After clicking the Follow/Unfollow the resulting link doesn’t have previously defined
link_class
classes.Is there a way to fix it?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Ajax doesn't respect link-class param’ is closed to new replies.