diff --git a/sites/all/modules/contrib/ajax_comments/ajax_comments.module b/sites/all/modules/contrib/ajax_comments/ajax_comments.module
old mode 100644
new mode 100755
index bdbbaad..79074ff
--- a/sites/all/modules/contrib/ajax_comments/ajax_comments.module
+++ b/sites/all/modules/contrib/ajax_comments/ajax_comments.module
@@ -77,6 +77,14 @@ function ajax_comments_preprocess_node(&$variables) {
 }
 
 /**
+ * Implements hook_preprocess_comment_wrapper().
+ */
+function ajax_comments_preprocess_comment_wrapper(&$variables) {
+  $variables['content']['comments']['#prefix'] = '<div id="comments-wrapper-nid-' . $variables['node']->nid . '">';
+  $variables['content']['comments']['#suffix'] = '</div>';
+}
+
+/**
  * Implements hook_form_FORM_ID_alter().
  */
 function ajax_comments_form_comment_form_alter(&$form, &$form_state, $form_id) {
@@ -226,7 +234,7 @@ function ajax_comments_submit_js($form, &$form_state) {
   else {
     // append comment to root comment wrapper
     $comment_output = drupal_render($comment_build);
-    $commands[] = ajax_command_append('#comment-wrapper', $notify_text . $comment_output);
+    $commands[] = ajax_command_append('#comments-wrapper-nid-' . $form_state['values']['nid'], $notify_text . $comment_output);
 
     // If we have a default form, update it with a new one
     if (variable_get('comment_form_location_' . $node->type, COMMENT_FORM_BELOW) == COMMENT_FORM_BELOW) {
