diff options
author | Mario <mario@mariovavti.com> | 2019-12-12 09:09:31 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-12-12 09:09:31 +0000 |
commit | 124cc4396247c75c14280136cfaa95415860ad4c (patch) | |
tree | 15e2a9157707c8c04733ce89fb987ed77e97472f /view/tpl | |
parent | 4237dd457e2e16830a758f633d10500f7a535238 (diff) | |
download | volse-hubzilla-124cc4396247c75c14280136cfaa95415860ad4c.tar.gz volse-hubzilla-124cc4396247c75c14280136cfaa95415860ad4c.tar.bz2 volse-hubzilla-124cc4396247c75c14280136cfaa95415860ad4c.zip |
when ajax loading new posts, always scroll to top first
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/notifications_widget.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 9191c2470..5e96c2767 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -117,6 +117,7 @@ {{/foreach}} function getData(b64mid, notify_id) { + $(document).scrollTop(0); $('.thread-wrapper').remove(); bParam_mid = b64mid; mode = 'replace'; |