Skip to content

Commit 050e558

Browse files
authored
Fix Back to Top button (#2157)
1 parent e8e4c24 commit 050e558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/js/script.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ $().ready(function() {
195195
});
196196

197197
$("#back-to-top-1, #back-to-top-2").click(function() {
198-
$("body").animate({ scrollTop: $('#python-network').offset().top }, 500);
198+
$('body, html').animate({ scrollTop: $('#python-network').offset().top }, 500);
199199
return false;
200200
});
201201

0 commit comments

Comments
 (0)