From 219d47f04c7bb04dcc241b9ed6ca411fc9653f09 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 7 Jun 2021 18:38:54 +0000 Subject: bs5: more fixes --- view/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/js/main.js') diff --git a/view/js/main.js b/view/js/main.js index b1cba33af..c367021eb 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1277,7 +1277,7 @@ function doscroll(parent, hidden) { }); $('html, body').animate({scrollTop:(id.offset().top) - 50}, 'slow'); - $('   ').insertBefore('#wall-item-info-' + id.attr('id').replace(/\D/g,'')); + $('   ').insertBefore('#wall-item-info-' + id.attr('id').replace(/\D/g,'')); } function doscrollback(pos) { @@ -1302,7 +1302,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) { - $(' ').insertBefore('#wall-item-info-' + id); + $(' ').insertBefore('#wall-item-info-' + id); me.html(me.html().replace(aStr['pin_item'],aStr['unpin_item'])); }; }) -- cgit v1.2.3