diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-25 23:09:08 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-25 23:09:08 -0700 |
commit | 7e59c70a9feb0de777a673a5ca5551170787c4e1 (patch) | |
tree | ee3b7dbf1bb0b9273cb88f0291c6fa2af497d50d /Zotlabs/Lib/ThreadItem.php | |
parent | bba7fe24e91b5899035df42afb31276a6c6f1d8b (diff) | |
download | volse-hubzilla-7e59c70a9feb0de777a673a5ca5551170787c4e1.tar.gz volse-hubzilla-7e59c70a9feb0de777a673a5ca5551170787c4e1.tar.bz2 volse-hubzilla-7e59c70a9feb0de777a673a5ca5551170787c4e1.zip |
autoscroll to target post/comment when in single-thread mode; don't interfere with other modes; replaces using a named anchor with a url fragment to reach a particular place in the conversation when content is loaded with ajax.
Diffstat (limited to 'Zotlabs/Lib/ThreadItem.php')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 2bab4a0ca..ef73ed793 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -403,6 +403,7 @@ class ThreadItem { 'comment' => $this->get_comment_box($indent), 'previewing' => ($conv->is_preview() ? ' preview ' : ''), 'wait' => t('Please wait'), + 'submid' => substr($item['mid'],0,32), 'thread_level' => $thread_level ); |