Title: [Plugin: Comment Rating] Comment-Rating Fix in Javascript
Last modified: August 20, 2016

---

# [Plugin: Comment Rating] Comment-Rating Fix in Javascript

 *  Resolved [MCas86](https://wordpress.org/support/users/mcas86/)
 * (@mcas86)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-comment-rating-comment-rating-fix-in-javascript/)
 * To fix Comment-Rating to update without having to refresh the page put the following
   on line 52 in ck-karma.js:
 * response[0] = response[0].replace(‘\r\ndone’,’done’);
 * When you’re done it should look like:
 * function ckratingHandleResponse(){
    if(ckratingXhr.readyState == 4){ var response
   = ckratingXhr.responseText.split(‘|’); response[0] = response[0].replace(‘\r\
   ndone’,’done’);
 * [http://wordpress.org/extend/plugins/comment-rating/](http://wordpress.org/extend/plugins/comment-rating/)

The topic ‘[Plugin: Comment Rating] Comment-Rating Fix in Javascript’ is closed 
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/comment-rating.svg)
 * [Comment Rating](https://wordpress.org/plugins/comment-rating/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/comment-rating/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/comment-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/comment-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/comment-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/comment-rating/reviews/)

## Tags

 * [fixed](https://wordpress.org/support/topic-tag/fixed/)

 * 0 replies
 * 1 participant
 * Last reply from: [MCas86](https://wordpress.org/support/users/mcas86/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-comment-rating-comment-rating-fix-in-javascript/)
 * Status: resolved