Fix posters' comments not showing ratings (#393)

This commit is contained in:
Josh 2022-08-02 08:11:20 -05:00 committed by GitHub
parent add83a32a8
commit 21a7a8711d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@
string style = ""; string style = "";
if (Model.User?.UserId == comment.PosterUserId) if (Model.User?.UserId == comment.PosterUserId)
{ {
style = "visibility: hidden"; style = "pointer-events: none";
} }
} }
<div class="voting" style="@(style)"> <div class="voting" style="@(style)">