mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -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'),
|
||||||
|
|
Loading…
Reference in a new issue