Skip to content

Commit 762c63f

Browse files
authored
Update web_src/js/features/repo-code.ts
1 parent cfe33b6 commit 762c63f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/js/features/repo-code.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ function selectRange(range: string): Element {
5050
if (!start) return null;
5151
const stop = rangeFields[1] || start;
5252

53+
// format is i.e. 'L14-L26'
5354
let startLineNum = parseInt(start.substring(1));
5455
let stopLineNum = parseInt(stop.substring(1));
5556
if (startLineNum > stopLineNum) {

0 commit comments

Comments
 (0)