diff options
author | Mario <mario@mariovavti.com> | 2023-02-15 08:51:23 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-02-15 08:51:23 +0000 |
commit | 07fd8cf6cdf070911403338f2013fd6e94c87e61 (patch) | |
tree | 6b352c313f8c0495e7ca5072647736b1b5963ced /view/js | |
parent | e7fb56447ae84bf6ebac6b244bc22a8a626eb041 (diff) | |
download | volse-hubzilla-07fd8cf6cdf070911403338f2013fd6e94c87e61.tar.gz volse-hubzilla-07fd8cf6cdf070911403338f2013fd6e94c87e61.tar.bz2 volse-hubzilla-07fd8cf6cdf070911403338f2013fd6e94c87e61.zip |
restructure wall-item-head
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index fdebb5faa..7250b6d2e 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1234,7 +1234,7 @@ function doscroll(parent, hidden) { }); $('html, body').animate({scrollTop:(id.offset().top) - 50}, 'slow'); - $('<a href="javascript:doscrollback(' + pos + ');" id="back-to-reply" class="float-end" title="' + aStr['to_reply'] + '"><i class="fa fa-angle-double-down"> </i></a>').insertBefore('#wall-item-info-' + id.attr('id').replace(/\D/g,'')); + $('<a href="javascript:doscrollback(' + pos + ');" id="back-to-reply" title="' + aStr['to_reply'] + '"><i class="fa fa-angle-double-down"></i></a>').insertAfter('#wall-item-ago-' + id.attr('id').replace(/\D/g,'')); } function doscrollback(pos) { @@ -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="float-end wall-item-pinned" title="' + aStr['pinned'] + '" id="wall-item-pinned-' + id + '"><i class="fa fa-thumb-tack"> </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"> </i></span>').insertBefore('#wall-item-info-' + id); me.html(me.html().replace(aStr['pin_item'],aStr['unpin_item'])); }; }) |