Skip to content

Commit 3f38183

Browse files
committed
WIP test invalid commit
1 parent d283a13 commit 3f38183

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shareon.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const urlBuilderMap = {
2424
fediverse: (d) => `https://${d.s2fInstance}/?text=${d.title}%0D%0A${d.url}${d.text ? `%0D%0A%0D%0A${d.text}` : ''}${d.via ? `%0D%0A%0D%0A${d.via}` : ''}`,
2525
hackernews: (d) => `https://news.ycombinator.com/submitlink?u=${d.url}&t=${d.title}`,
2626
linkedin: (d) => `https://www.linkedin.com/sharing/share-offsite/?url=${d.url}`,
27-
lobsters: (d) => `https://lobste.rs/stories/new?url=${d.url}&title=${d.title}`,
27+
lobsters: d => `https://lobste.rs/stories/new?url=${d.url}&title=${d.title}`,
2828
mastodon: (d) => `https://toot.kytta.dev/?text=${d.title}%0D%0A${d.url}${d.text ? `%0D%0A%0D%0A${d.text}` : ''}${d.via ? `%0D%0A%0D%0A${d.via}` : ''}`,
2929
messenger: (d) => `https://www.facebook.com/dialog/send?app_id=${d.fbAppId}&link=${d.url}&redirect_uri=${d.url}`,
3030
odnoklassniki: (d) => `https://connect.ok.ru/offer?url=${d.url}&title=${d.title}${d.media ? `&imageUrl=${d.media}` : ''}`,
@@ -41,7 +41,7 @@ const urlBuilderMap = {
4141
};
4242

4343
const openUrl = (buttonUrl) => () => {
44-
window.open(buttonUrl, "_blank", "noopener,noreferrer");
44+
window.open(buttonUrl, "_blank", "noopener,noreferrer");
4545
};
4646

4747
const init = () => {

0 commit comments

Comments
 (0)