Skip to content

Commit da155e1

Browse files
committed
Update clog.js
1 parent 24f9a63 commit da155e1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎js/clog.js‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,12 @@ async function shareCurrentPost() {
572572
const url = window.location.href;
573573
const imageUrl = dbEntry?.Img || null;
574574

575-
const shareText =`Read ${title}\nBy: ${author}\n==>\n${url}${imageUrl ? `\nImage: ${imageUrl}` : ""}`;
575+
const shareText =
576+
`Read ${title}\n
577+
By: ${author}\n
578+
==>${url}\n
579+
${imageUrl ? `\nImage: ${imageUrl}` : ""}
580+
`;
576581
try {
577582
if (navigator.share) {
578583
if (imageUrl && navigator.canShare) {

0 commit comments

Comments
 (0)