aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-05 17:35:56 -0700
committerzotlabs <mike@macgirvin.com>2017-09-05 17:35:56 -0700
commit80400d719145c843a1bb80a34d5815d15ffc5893 (patch)
tree0756e2359311fce23c959b2afd2dd89c8aeddb8c /view
parent6147f819ce908d7a52f905658e827c48aad92074 (diff)
parent68a91ec3ea7eaf56689545535a7481a838eff4da (diff)
downloadvolse-hubzilla-80400d719145c843a1bb80a34d5815d15ffc5893.tar.gz
volse-hubzilla-80400d719145c843a1bb80a34d5815d15ffc5893.tar.bz2
volse-hubzilla-80400d719145c843a1bb80a34d5815d15ffc5893.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 3a4278630..ce7a1a07e 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -698,9 +698,9 @@ function updateConvItems(mode,data) {
// auto-scroll to a particular comment in a thread (designated by mid) when in single-thread mode
// use the same method to generate the submid as we use in ThreadItem,
- // substr(0,32) + base64_encode + replace(['+','='],['','']);
+ // base64_encode + replace(['+','='],['','']);
var submid = bParam_mid;
- var submid_encoded = ((submid.length) ? submid.substring(0,32) : 'abcdefg');
+ var submid_encoded = ((submid.length) ? submid : 'abcdefg');
submid_encoded = window.btoa(submid_encoded);
submid_encoded = submid_encoded.replace(/[\+\=]/g,'');
if($('.item_' + submid_encoded).length && !$('.item_' + submid_encoded).hasClass('toplevel_item') && mode == 'replace') {