summaryrefslogtreecommitdiffstats
path: root/extensions/Splinter
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Splinter')
-rw-r--r--extensions/Splinter/web/splinter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Splinter/web/splinter.js b/extensions/Splinter/web/splinter.js
index fdea47cc6..a3220a158 100644
--- a/extensions/Splinter/web/splinter.js
+++ b/extensions/Splinter/web/splinter.js
@@ -681,7 +681,7 @@ Splinter.Review.Comment.prototype = {
var hunk = this.getHunk();
var line = hunk.lines[this.location - hunk.location];
for (i = 0; i < line.reviewComments.length; i++) {
- var comment = line.reviewComments[0];
+ var comment = line.reviewComments[i];
if (comment === this) {
return null;
}