Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[shell] Auto scroll on new output with Firefox

  • Loading branch information...
commit 452ce74f23cb088e5b74969f81ce83f134a20627 1 parent eac61ca
@romainr romainr authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 apps/shell/src/shell/templates/index.mako
View
6 apps/shell/src/shell/templates/index.mako
@@ -231,7 +231,11 @@ from desktop.views import commonheader, commonfooter
});
},500);
}
- $('body').animate({scrollTop: $(document).height()}, 'slow');
+ var toScroll = -$(document).height();
+ if (jQuery.browser.webkit) {
+ toScroll = -toScroll;
+ }
+ $("body").animate({scrollTop: toScroll}, "fast");
_shell.get(data[_shell.id].nextOffset);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.