mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 01:39:19 +00:00
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…
x
Reference in New Issue
Block a user