Notifications
Clear all
Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Topic starter
29/05/2016 1:22 pm
Hi,
I'd like my page to automatically reload everytime a user posts a new comment or reply. Trying the implement the following code in javascript:
document.location.reload(true);
However i'm unsure where this line should be placed and whether it's the correct implementation.
Thank you!
30/05/2016 3:19 pm
Hope you familiar with jQuery. you should add reloaded function in wpdiscuz.min.js file. It's currently minimized, you should extend and find this function:
H(document).delegate(".wc_comm_submit","click",function(){ .... V(am).done(function(at) { ...... your code should be after last comment submitter functions... } .... }