vendor/ui/js/src/components/blob.js in dolt-0.23.0 vs vendor/ui/js/src/components/blob.js in dolt-0.24.0
- old
+ new
@@ -49,10 +49,10 @@
while (element && element.tagName !== "LI") {
element = element.parentNode;
}
var lineNum = element && element.className.match(/L(\d+)/)[1];
if (!lineNum) { return; }
- return parseInt(lineNum, 10) + 1;
+ return parseInt(lineNum, 10);
}
/**
* Set the active region. Marks the region and updates the URL with the
* new region as an anchor ("#L<start>-<end>").