summaryrefslogtreecommitdiffstats
path: root/extensions/Splinter/web
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Splinter/web')
-rw-r--r--extensions/Splinter/web/splinter.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Splinter/web/splinter.js b/extensions/Splinter/web/splinter.js
index b33fa778c..d6317cd9a 100644
--- a/extensions/Splinter/web/splinter.js
+++ b/extensions/Splinter/web/splinter.js
@@ -1058,8 +1058,8 @@ Splinter.Review.Review.prototype = {
for (i = 0; i < rawlines.length; i++) {
var line = rawlines[i];
var count = 1;
- if (i < rawlines.length - 1 && rawlines[i + 1].match(/^... \d+\s+/)) {
- var m3 = /^\.\.\.\s+(\d+)\s+/.exec(rawlines[i + 1]);
+ if (i < rawlines.length - 1 && rawlines[i + 1].match(/^\.\.\. \d+\s+/)) {
+ var m3 = /^\.\.\. (\d+)\s+/.exec(rawlines[i + 1]);
count += parseInt(m3[1], 10);
i += 1;
}