From 2b7a60522394d87eb3362829497e7a1a2542ca55 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 7 Feb 2019 09:55:22 +0100 Subject: exec updateInit() instead of notificationsUpdate() in jotShare() --- view/tpl/jot-header.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 42537f5e3..9a44f1a54 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -198,12 +198,11 @@ var activeCommentText = ''; }) } - function jotShare(id,post_type) { $('#like-rotator-' + id).show(); $.get('{{$baseurl}}/share/' + id, function(data) { $('#like-rotator-' + id).hide(); - notificationsUpdate(); + updateInit(); }); } -- cgit v1.2.3