From f1cca3a1da7c87b48583e871bf8770fe6df4d3f2 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 23 Jun 2011 12:47:46 -0400 Subject: Scroll-to-top needs the Chrome fix also. --- coverage/htmlfiles/coverage_html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coverage/htmlfiles/coverage_html.js b/coverage/htmlfiles/coverage_html.js index 0c340a97..38c7c5cc 100644 --- a/coverage/htmlfiles/coverage_html.js +++ b/coverage/htmlfiles/coverage_html.js @@ -163,7 +163,7 @@ coverage.set_sel = function (b, e) { coverage.to_top = function () { coverage.set_sel(0, 1); - $("html").animate({scrollTop: 0}, 200); + $("html,body").animate({scrollTop: 0}, 200); }; coverage.to_first_chunk = function () { -- cgit v1.2.1