BUGFIX: this fixes a chrome bug... I would laugh if I wasn't already
crying.
This commit is contained in:
parent
e5a4dc6eac
commit
4d798abe50
|
@ -33,7 +33,7 @@ Discourse.DiscoveryTopicsView = Discourse.View.extend(Discourse.LoadMore, {
|
|||
|
||||
if (typeof scrollTo !== "undefined") {
|
||||
Em.run.schedule('afterRender', function() {
|
||||
$(window).scrollTop(scrollTo);
|
||||
$(window).scrollTop(scrollTo+1);
|
||||
});
|
||||
}
|
||||
}.on('didInsertElement'),
|
||||
|
|
Loading…
Reference in New Issue