Skip to content

Commit

Permalink
Chrome+Fx support for scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
gkoberger committed Oct 31, 2011
1 parent 684f450 commit f7eea82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magazine_src/2011-10-31-startup-school.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ <h1>
$('.speakers a').removeClass('on');
$('.screen .speakers [data-who=' + $el.attr('data-who') + ']').addClass('on');
if($el.closest('ul').hasClass('bottom')) {
$('body').animate({'scrollTop': 525}, 800);
$('html, body').animate({'scrollTop': 525}, 800);
}
$('#sketch div:visible').fadeOut(function() {
$('#sketch .s-' + $el.attr('data-who')).fadeIn(function() {
Expand Down

0 comments on commit f7eea82

Please sign in to comment.