]> Untitled Git - lemmy-ui.git/commitdiff
Merge pull request #1269 from alectrocute/AA/missing-tooltip-from-post-listing
authorSleeplessOne1917 <abias1122@gmail.com>
Wed, 14 Jun 2023 23:30:47 +0000 (23:30 +0000)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2023 23:30:47 +0000 (23:30 +0000)
Add missing tooltip for `cross-post` button on `PostListing`

src/shared/components/post/post-listing.tsx

index f1f06c5869f123641f84edb82c449da788170702..d5fc785c3747f38c5486cbe3f919694fa8a9deb9 100644 (file)
@@ -835,6 +835,8 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
           search: "",
         }}
         title={i18n.t("cross_post")}
+        data-tippy-content={i18n.t("cross_post")}
+        aria-label={i18n.t("cross_post")}
       >
         <Icon icon="copy" inline />
       </Link>