finished comment integration, it should be working now

This commit is contained in:
2026-03-17 13:47:55 +01:00
parent 76eb96666b
commit f58248a8e7
10 changed files with 689 additions and 29 deletions

10
public/js/comments.js Normal file
View File

@@ -0,0 +1,10 @@
jQuery( document ).ready( function( $ ) {
const wrapper = $('.pexpo-core-comment-groups-wrapper').first();
const group = wrapper.find('.pexpo-core-comment-group').first();
let childrenCount = group.children().length;
if (childrenCount > 3) {
wrapper.css('animation', 'scrolling ' + group.children().length * 5 + 's linear infinite');
}
});