It should be somewhere near i guess, coz when we have nested replies, and i press to reply i am moving under last reply in this thread, not at the end of the page. So i think need just to make some change to keep it under first message 🙂
// Only add onclick if replies are threaded
if ( bbp_thread_replies() ) {
// Array of classes to pass to moveForm
$move_form = array(
$r['add_below'] . '-' . $reply->ID,
$reply->ID,
$r['respond_id'],
$reply->post_parent
);
i think it somewhere here