From 34d54fd3099217ccabcd812b1883ee7882caad77 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 23 Nov 2020 19:57:28 +0000 Subject: simplify code and fix issue with categories --- view/js/main.js | 1 - 1 file changed, 1 deletion(-) (limited to 'view') 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')) { -- cgit v1.2.3