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/css/bootstrap-red.css | 4 ++++ view/js/main.js | 4 ++-- view/tpl/navbar_default.tpl | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 122bb5904..79817ebd0 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -57,3 +57,7 @@ nav .dropdown-menu { label { font-weight: bold; } + +a { + text-decoration: none !important; +} 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'])); }; }) diff --git a/view/tpl/navbar_default.tpl b/view/tpl/navbar_default.tpl index 48daf7b56..6c3cf3ff5 100644 --- a/view/tpl/navbar_default.tpl +++ b/view/tpl/navbar_default.tpl @@ -90,7 +90,7 @@ {{/if}} - {{if $localuser || $nav.pubs}} -- cgit v1.2.3