Permalink
Browse files

Fix a wechat typo (#103)

  • Loading branch information...
1 parent cd2f523 commit a0c702f865cf7b28a8c66828155defc70695ad5a @ranxiang ranxiang committed with Oct 24, 2016
View
@@ -67,7 +67,7 @@ You need add require css,js file in your app assets files:
```
#= require social-share-button
-#= require social_share_button/wechat # if you need use WeChat
+#= require social-share-button/wechat # if you need use WeChat
```
`app/assets/stylesheets/application.scss`
@@ -52,6 +52,7 @@ window.SocialShareButton =
window.SocialShareWeChatButton.qrcode
header: $(el).attr('title')
footer: $(el).data('wechat-footer')
+ url: $parent.data("url")
when "tumblr"
get_tumblr_extra = (param) ->
@@ -30,7 +30,7 @@ window.SocialShareWeChatButton =
$wBody.qrcode
width: 200
height: 200
- text: location.href
+ text: opts.url
$wContainer = $("#ss-wechat-dialog")
top = ($(window).height() - $wContainer.height()) / 2

0 comments on commit a0c702f

Please sign in to comment.