aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-02-07 09:55:22 +0100
committerMario Vavti <mario@mariovavti.com>2019-02-07 09:55:22 +0100
commit2b7a60522394d87eb3362829497e7a1a2542ca55 (patch)
treeea4e82d68e8acbfa7e89a8c311adb521bd570531
parentd70f0092f7369a87117898716893c16f8a09d4fe (diff)
downloadvolse-hubzilla-2b7a60522394d87eb3362829497e7a1a2542ca55.tar.gz
volse-hubzilla-2b7a60522394d87eb3362829497e7a1a2542ca55.tar.bz2
volse-hubzilla-2b7a60522394d87eb3362829497e7a1a2542ca55.zip
exec updateInit() instead of notificationsUpdate() in jotShare()
-rwxr-xr-xview/tpl/jot-header.tpl3
1 files changed, 1 insertions, 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();
});
}