Skip to content

Commit

Permalink
Fix Back to Top button (#2157)
Browse files Browse the repository at this point in the history
  • Loading branch information
sumit4613 committed Oct 31, 2022
1 parent e8e4c24 commit 050e558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ $().ready(function() {
});

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

Expand Down

0 comments on commit 050e558

Please sign in to comment.