diff options
Diffstat (limited to 'ui/src/components/post-listing.tsx')
-rw-r--r-- | ui/src/components/post-listing.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index b6cb3f51..e170c711 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -266,7 +266,12 @@ export class PostListing extends Component<PostListingProps, PostListingState> { <use xlinkHref="#icon-arrow-up"></use> </svg> </button> - <div class={`unselectable font-weight-bold text-muted px-1`}> + <div + class={`unselectable pointer font-weight-bold text-muted px-1`} + data-tippy-content={i18n.t('number_of_points', { + count: this.state.score, + })} + > {this.state.score} </div> {WebSocketService.Instance.site.enable_downvotes && ( |