Changeset 13190
- Timestamp:
- 12/16/2021 06:53:50 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/js/buddypress.js
r13114 r13190 1 1 /* jshint undef: false, unused:false */ 2 2 /* @version 1.7.0 */ 3 /* @version 8.0.0 */3 /* @version 10.0.0 */ 4 4 // AJAX Functions 5 5 var jq = jQuery; … … 2023 2023 comment_count = ' '; 2024 2024 2025 if ( jq('#' + parent_li.attr('id') + ' li ').length ) {2026 comment_count = jq('#' + parent_li.attr('id') + ' li ').length;2025 if ( jq('#' + parent_li.attr('id') + ' li[id*="acomment-"]').length ) { 2026 comment_count = jq('#' + parent_li.attr('id') + ' li[id*="acomment-"]').length; 2027 2027 } 2028 2028
Note: See TracChangeset
for help on using the changeset viewer.