aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-02-15 09:41:48 +0000
committerMario <mario@mariovavti.com>2023-02-15 09:41:48 +0000
commit1ca988b177834467671137c94f17a5948b465f6f (patch)
tree1250b1704335249bd584d52a714d18a49b705baa /view/js
parent07fd8cf6cdf070911403338f2013fd6e94c87e61 (diff)
downloadvolse-hubzilla-1ca988b177834467671137c94f17a5948b465f6f.tar.gz
volse-hubzilla-1ca988b177834467671137c94f17a5948b465f6f.tar.bz2
volse-hubzilla-1ca988b177834467671137c94f17a5948b465f6f.zip
revisit author_id and fix issue with pinned content
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 7250b6d2e..dcdf58396 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1259,7 +1259,7 @@ function dopin(id) {
$('.dropdown-item-pinnable').html($('.dropdown-item-pinnable').html().replace(aStr['unpin_item'],aStr['pin_item']));
$('.wall-item-pinned').remove()
if(i.length == 0) {
- $('<span class="wall-item-pinned" title="' + aStr['pinned'] + '" id="wall-item-pinned-' + id + '"><i class="fa fa-thumb-tack">&nbsp;</i></span>').insertBefore('#wall-item-info-' + id);
+ $('<span class="wall-item-pinned" title="' + aStr['pinned'] + '" id="wall-item-pinned-' + id + '"><i class="fa fa-thumb-tack">&nbsp;</i></span>').insertAfter('#wall-item-ago-' + id);
me.html(me.html().replace(aStr['pin_item'],aStr['unpin_item']));
};
})