aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-09-29 11:55:41 +0200
committerMario Vavti <mario@mariovavti.com>2016-09-29 11:55:41 +0200
commit5d2cf3d23c440cbaab558cf76c7e2f596d488a41 (patch)
tree394f6cb872873a7aa53ec8c47adaacd1a8b10ee9 /view/js
parent3c9809bfe6898e5c7cf4c9c70bbeb280cf9197a4 (diff)
downloadvolse-hubzilla-5d2cf3d23c440cbaab558cf76c7e2f596d488a41.tar.gz
volse-hubzilla-5d2cf3d23c440cbaab558cf76c7e2f596d488a41.tar.bz2
volse-hubzilla-5d2cf3d23c440cbaab558cf76c7e2f596d488a41.zip
omit autoscrolling to toplevel items
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 53a9a2ec7..0239fc1f8 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -652,7 +652,7 @@ function updateConvItems(mode,data) {
}
// auto-scroll to a particular comment in a thread (designated by mid) when in single-thread mode
- if($('.item_' + bParam_mid.substring(0,32)).length && mode == 'replace') {
+ if($('.item_' + bParam_mid.substring(0,32)).length && !$('.item_' + bParam_mid.substring(0,32)).hasClass('toplevel_item') && mode == 'replace') {
if($('.collapsed-comments').length) {
var scrolltoid = $('.collapsed-comments').attr('id').substring(19);
$('#collapsed-comments-' + scrolltoid + ' .autotime').timeago();