Skip to content

Commit

Permalink
Merge pull request #25 from Sanher/master
Browse files Browse the repository at this point in the history
feature(reddit): added reddit ritle post
  • Loading branch information
wcoder authored Dec 15, 2020
2 parents 5fc5ac8 + 9c54fe4 commit 30fcb5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/share-buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
TW_LINK_FORMAT = 'https://twitter.com/intent/tweet?url={0}&text={1}',
TG_LINK_FORMAT = 'https://t.me/share/url?url={0}&text={1}',
POCKET_LINK_FORMAT = 'https://getpocket.com/edit?url={0}&title={1}',
RE_LINK_FORMAT = 'https://reddit.com/submit/?url={0}',
RE_LINK_FORMAT = 'https://reddit.com/submit?url={0}&title={1}',
EV_LINK_FORMAT = 'https://www.evernote.com/clip.action?url={0}&t={1}',
IN_LINK_FORMAT = 'https://www.linkedin.com/shareArticle?mini=true&url={0}&title={1}&summary={2}&source={0}',
PI_LINK_FORMAT = 'https://pinterest.com/pin/create/button/?url={0}&media={0}&description={1}',
Expand Down Expand Up @@ -230,7 +230,7 @@

case RE_CLASS_NAME:
popupCenter(
stringFormat(RE_LINK_FORMAT, [url]),
stringFormat(RE_LINK_FORMAT, [url, title]),
titleDef);
break;

Expand Down

0 comments on commit 30fcb5a

Please sign in to comment.