BUGFIX: this fixes a chrome bug... I would laugh if I wasn't already

crying.
This commit is contained in:
Robin Ward 2014-02-27 16:56:03 -05:00
parent e5a4dc6eac
commit 4d798abe50

View file

@ -33,7 +33,7 @@ Discourse.DiscoveryTopicsView = Discourse.View.extend(Discourse.LoadMore, {
if (typeof scrollTo !== "undefined") { if (typeof scrollTo !== "undefined") {
Em.run.schedule('afterRender', function() { Em.run.schedule('afterRender', function() {
$(window).scrollTop(scrollTo); $(window).scrollTop(scrollTo+1);
}); });
} }
}.on('didInsertElement'), }.on('didInsertElement'),