Skip to content

Commit

Permalink
fixed sharing to renren.
Browse files Browse the repository at this point in the history
  • Loading branch information
leopku committed Aug 22, 2013
1 parent 15e2d50 commit b7cd12b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/social-share-button.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ window.SocialShareButton =
when "kaixin001"
SocialShareButton.openUrl("http://www.kaixin001.com/rest/records.php?url=#{url}&content=#{title}&style=11&pic=#{img}")
when "renren"
SocialShareButton.openUrl("http://widget.renren.com/dialog/share?resourceUrl=#{url}&title=#{title}&description=")
SocialShareButton.openUrl("http://widget.renren.com/dialog/share?resourceUrl=#{url}&srcUrl=#{url}&title=#{title}&pic=#{img}&description=")
when "google_plus"
SocialShareButton.openUrl("https://plus.google.com/share?url=#{url}&t=#{title}")
when "google_bookmark"
Expand Down

0 comments on commit b7cd12b

Please sign in to comment.