share
This commit is contained in:
parent
9cb63171c1
commit
8180413359
|
@ -41,7 +41,7 @@ var menu = {
|
||||||
pic = 'http://wide.b3log.org/static/images/wide-logo.png';
|
pic = 'http://wide.b3log.org/static/images/wide-logo.png';
|
||||||
var urls = {};
|
var urls = {};
|
||||||
urls.email = "mailto:?subject=" + $('title').text()
|
urls.email = "mailto:?subject=" + $('title').text()
|
||||||
+ "body=" + $('meta[name=description]').attr('content') + ' ' + url;
|
+ "&body=" + $('meta[name=description]').attr('content') + ' ' + url;
|
||||||
urls.twitter = "https://twitter.com/intent/tweet?status="
|
urls.twitter = "https://twitter.com/intent/tweet?status="
|
||||||
+ $('meta[name=description]').attr('content') + " " + url;
|
+ $('meta[name=description]').attr('content') + " " + url;
|
||||||
urls.facebook = "https://www.facebook.com/sharer/sharer.php?u=" + url;
|
urls.facebook = "https://www.facebook.com/sharer/sharer.php?u=" + url;
|
||||||
|
|
Loading…
Reference in New Issue