Fixed share button toggle

https://github.com/LinkStackOrg/LinkStack/issues/649
This commit is contained in:
Julian Prieber 2023-12-14 14:51:56 +01:00
parent e224b68d31
commit da5c5d6d0b
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
$DisplayShowShrBtn = $ShowShrBtn === 'true' && UserData::getData($userinfo->id, 'disable-sharebtn') !== "true";
@endphp
<div align="right" @if($DisplayShowShrBtn == false) style="visibility:hidden" @endif class="sharediv">
<div align="right" @if($DisplayShowShrBtn == 'false') style="visibility:hidden" @endif class="sharediv">
<div>
<span class="sharebutton button-hover icon-hover share-button" data-share="{{url()->current()}}" tabindex="0" role="button" aria-label="{{__('messages.Share this page')}}">
<i style="color: black;" class="fa-solid fa-share sharebutton-img share-icon hvr-icon"></i>