Skip to content

Commit

Permalink
Fix auto scrolling in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
9ary committed Mar 16, 2015
1 parent 6d190af commit ac33926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/main.js
Expand Up @@ -19,7 +19,7 @@ $.fn.insertText = function(text)

function scroll()
{
$("body").animate({scrollTop: $(document).height()-$(window).height()}, 200);
$("body,html").animate({scrollTop: $(document).height()-$(window).height()}, 200);
}

function color_of(name)
Expand Down

0 comments on commit ac33926

Please sign in to comment.