Skip to content

Commit 9c54fe4

Browse files
committed
feature(reddit): added reddit ritle post
1 parent 5fc5ac8 commit 9c54fe4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/share-buttons.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
TW_LINK_FORMAT = 'https://twitter.com/intent/tweet?url={0}&text={1}',
2222
TG_LINK_FORMAT = 'https://t.me/share/url?url={0}&text={1}',
2323
POCKET_LINK_FORMAT = 'https://getpocket.com/edit?url={0}&title={1}',
24-
RE_LINK_FORMAT = 'https://reddit.com/submit/?url={0}',
24+
RE_LINK_FORMAT = 'https://reddit.com/submit?url={0}&title={1}',
2525
EV_LINK_FORMAT = 'https://www.evernote.com/clip.action?url={0}&t={1}',
2626
IN_LINK_FORMAT = 'https://www.linkedin.com/shareArticle?mini=true&url={0}&title={1}&summary={2}&source={0}',
2727
PI_LINK_FORMAT = 'https://pinterest.com/pin/create/button/?url={0}&media={0}&description={1}',
@@ -230,7 +230,7 @@
230230

231231
case RE_CLASS_NAME:
232232
popupCenter(
233-
stringFormat(RE_LINK_FORMAT, [url]),
233+
stringFormat(RE_LINK_FORMAT, [url, title]),
234234
titleDef);
235235
break;
236236

0 commit comments

Comments
 (0)