From 465c10137ed3f28111c89045ff346cb4817a1759 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sun, 19 Jul 2015 22:47:09 +0300 Subject: [PATCH] Duplicate comments quick fix. --- chrome_point_plus/modules/ajax-comments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome_point_plus/modules/ajax-comments.js b/chrome_point_plus/modules/ajax-comments.js index 9982994..d89ad38 100644 --- a/chrome_point_plus/modules/ajax-comments.js +++ b/chrome_point_plus/modules/ajax-comments.js @@ -196,9 +196,9 @@ AjaxCommentProcessor.prototype.onSuccess = function(data, textStatus) { } else { if (this.isRecommendation() && this._text.trim().length === 0) { this.showSuccessRecommendation(); - } else { + }/* else { this.createComment(data); - } + }*/ this.hideForm(); // Cleaning textarea