summaryrefslogtreecommitdiffstats
path: root/extensions/Splinter
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-05-15 08:25:11 +0200
committerByron Jones <bjones@mozilla.com>2013-05-15 08:25:11 +0200
commitb29e02fc461d92a33679a3d7d1407d14185cb7f5 (patch)
treefb467dfd242ce5e71f318316c84131b79c0110bd /extensions/Splinter
parentcfecadb135f1c93deeff425061d14c57d9cb1b70 (diff)
downloadbugzilla-b29e02fc461d92a33679a3d7d1407d14185cb7f5.tar.gz
bugzilla-b29e02fc461d92a33679a3d7d1407d14185cb7f5.tar.xz
Bug 797840: Replying to a comment on Splinter always replies to the first comment
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;
}