Title: Reply button does not work for threaded comments
Last modified: August 20, 2016

---

# Reply button does not work for threaded comments

 *  [mallorydxw-old](https://wordpress.org/support/users/tomdxw/)
 * (@tomdxw)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/reply-button-does-not-work-for-threaded-comments/)
 * It seems that the comments on activities can have threaded comments. I don’t 
   know if it’s a bug, or this plugin just wasn’t made with threaded comments in
   mind, but it seems that in this widget the “reply” button on the activity itself
   works but clicking “reply” on any comments on the activity (or comments on comments
   on the activity) has no effect.
 * Thanks,
    Tom
 * [http://wordpress.org/extend/plugins/buddypress-sitewide-activity-widget/](http://wordpress.org/extend/plugins/buddypress-sitewide-activity-widget/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Danny](https://wordpress.org/support/users/dmurton/)
 * (@dmurton)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/reply-button-does-not-work-for-threaded-comments/#post-3142503)
 * I know this is 8 months old but I had the same issue with a WordPress site that
   I took over. If you go into swa.js, line 157, change the code from:
 *     ```
       /* Comment / comment reply links */
       		if ( target.attr('class') == 'acomment-reply' || target.parent().attr('class') == 'acomment-reply' ) {
       			if ( target.parent().attr('class') == 'acomment-reply' )
       ```
   
 * to:
 *     ```
       /* Comment / comment reply links */
       		if ( target.hasClass('acomment-reply') || target.parent().hasClass('acomment-reply') ) {
       			if ( target.parent().hasClass('acomment-reply') )
       ```
   
 * Thanks,
    Dan
 *  [Estopero](https://wordpress.org/support/users/estopero/)
 * (@estopero)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/reply-button-does-not-work-for-threaded-comments/#post-3142504)
 * Thanks for the code dmurton!
 * I will try it 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Reply button does not work for threaded comments’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-sitewide-activity-widget.
   svg)
 * [BuddyPress Sitewide Activity Widget](https://wordpress.org/plugins/buddypress-sitewide-activity-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-sitewide-activity-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-sitewide-activity-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-sitewide-activity-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-sitewide-activity-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-sitewide-activity-widget/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Estopero](https://wordpress.org/support/users/estopero/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/reply-button-does-not-work-for-threaded-comments/#post-3142504)
 * Status: not resolved