Comment Widget Auto Reload Addon

This thing is just a really simple modification on Ayano's Comment Widget that makes it so the widget auto reloads when the user submits a comment. This is made because I can't stand why it would need a reload when you submit a comment.

To implement this to your site, here's the steps:

  1. Find the input that's have the id c_form. That should look like this:
  2. Now, add refreshForm(); on the onsubmit attribute. That should look like this:
  3. Then, we're now making the JS function that will reload it. It's just a simple 3 lines. Put this on the script. Modify the 1500 to how many milliseconds do you want before it reloads the widget.

And that's pretty much it!