aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-23 19:57:28 +0000
committerMario <mario@mariovavti.com>2020-11-23 19:57:28 +0000
commit34d54fd3099217ccabcd812b1883ee7882caad77 (patch)
tree855e5936acb2b4014d76ad05ff53d11bad01da9c /view
parent891b1428cc3a5aade0754acffa1a516c5896b46a (diff)
downloadvolse-hubzilla-34d54fd3099217ccabcd812b1883ee7882caad77.tar.gz
volse-hubzilla-34d54fd3099217ccabcd812b1883ee7882caad77.tar.bz2
volse-hubzilla-34d54fd3099217ccabcd812b1883ee7882caad77.zip
simplify code and fix issue with categories
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 35b03e03b..d39e22b1a 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1153,7 +1153,6 @@ function dolike(ident, verb) {
conv_mode = '';
$.get('like/' + ident.toString() + '?verb=' + verb + '&conv_mode=' + conv_mode, function (data) {
- data = JSON.parse(data);
if(data.success) {
// this is a bit tricky since the top level thread wrapper wraps the whole thread
if($('#thread-wrapper-' + data.orig_id).hasClass('toplevel_item')) {