From 863d7602bf3ffff089dc9e9ee8b89ad404f0fea4 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 28 May 2018 07:15:03 -0400 Subject: Clean up --- coverage/htmlfiles/coverage_html.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'coverage/htmlfiles/coverage_html.js') diff --git a/coverage/htmlfiles/coverage_html.js b/coverage/htmlfiles/coverage_html.js index b7fbd9c9..c1a41192 100644 --- a/coverage/htmlfiles/coverage_html.js +++ b/coverage/htmlfiles/coverage_html.js @@ -559,7 +559,9 @@ coverage.resize_scroll_markers = function () { offsets = {}; // Calculate line offsets outside loop to prevent relayouts - c.missed_lines.each(function(){offsets[this.id] = $(this).offset().top}); + c.missed_lines.each(function() { + offsets[this.id] = $(this).offset().top; + }); c.missed_lines.each(function () { var id_name = $(this).attr('id'), line_top = Math.round(offsets[id_name] * marker_scale), -- cgit v1.2.1