File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const urlBuilderMap = {
24
24
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 } ` : '' } ` ,
25
25
hackernews : ( d ) => `https://news.ycombinator.com/submitlink?u=${ d . url } &t=${ d . title } ` ,
26
26
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 } ` ,
28
28
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 } ` : '' } ` ,
29
29
messenger : ( d ) => `https://www.facebook.com/dialog/send?app_id=${ d . fbAppId } &link=${ d . url } &redirect_uri=${ d . url } ` ,
30
30
odnoklassniki : ( d ) => `https://connect.ok.ru/offer?url=${ d . url } &title=${ d . title } ${ d . media ? `&imageUrl=${ d . media } ` : '' } ` ,
@@ -41,7 +41,7 @@ const urlBuilderMap = {
41
41
} ;
42
42
43
43
const openUrl = ( buttonUrl ) => ( ) => {
44
- window . open ( buttonUrl , "_blank" , "noopener,noreferrer" ) ;
44
+ window . open ( buttonUrl , "_blank" , "noopener,noreferrer" ) ;
45
45
} ;
46
46
47
47
const init = ( ) => {
You can’t perform that action at this time.
0 commit comments