FIX: allows right-click on post-date sharing link (#7054)

FIX: allows right-click on post-date sharing link (#7054)

diff --git a/app/assets/javascripts/discourse/widgets/post.js.es6 b/app/assets/javascripts/discourse/widgets/post.js.es6
index a8a5161..6eb1113 100644
--- a/app/assets/javascripts/discourse/widgets/post.js.es6
+++ b/app/assets/javascripts/discourse/widgets/post.js.es6
@@ -243,6 +243,7 @@ createWidget("post-date", {
       {
         attributes: {
           class: "post-date",
+          href: attrs.shareUrl,
           "data-share-url": attrs.shareUrl,
           "data-post-number": attrs.post_number
         }
@@ -258,7 +259,9 @@ createWidget("post-date", {
     return lastWikiEdit ? lastWikiEdit : createdAt;
   },
 
-  click() {
+  click(event) {
+    event.preventDefault();
+
     const post = this.findAncestorModel();
 
     const modalFallback = () => {

GitHub sha: 8aca26cc