aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorRobert Kormann <hubzilla@kormann.info>2019-12-15 18:11:47 +0100
committerRobert Kormann <hubzilla@kormann.info>2019-12-15 18:11:47 +0100
commit0d00b72569dfe113e015231033ff318898f19f90 (patch)
treeaa2b922d470701608ebaf2f88bd104eb8e12e960 /view
parentcce5054aeccb6e58b47d9291c3f8546f2a41ed76 (diff)
parent124cc4396247c75c14280136cfaa95415860ad4c (diff)
downloadvolse-hubzilla-0d00b72569dfe113e015231033ff318898f19f90.tar.gz
volse-hubzilla-0d00b72569dfe113e015231033ff318898f19f90.tar.bz2
volse-hubzilla-0d00b72569dfe113e015231033ff318898f19f90.zip
Merge branch 'dev' into RKor.Info
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js1
-rw-r--r--view/tpl/notifications_widget.tpl1
2 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 84fa44d4a..66a0bda2f 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -826,7 +826,6 @@ function scrollToItem() {
$('html, body').animate({ scrollTop: $(this).offset().top - $('nav').outerHeight(true) }, 'slow');
$(this).addClass('item-highlight');
}
-
});
}
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';