Skip to content

Commit 568916d

Browse files
fixed "mNan" id in scroll markers (#1414)
1 parent ef978c1 commit 568916d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coverage/htmlfiles/coverage_html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ coverage.build_scroll_markers = function () {
553553
'p.show_run, p.show_mis, p.show_exc, p.show_exc, p.show_par'
554554
).forEach(element => {
555555
const line_top = Math.floor(element.offsetTop * marker_scale);
556-
const line_number = parseInt(element.id.substr(1));
556+
const line_number = parseInt(element.querySelector(".n a").id.substr(1));
557557

558558
if (line_number === previous_line + 1) {
559559
// If this solid missed block just make previous mark higher.

0 commit comments

Comments
 (0)