Skip to content

Commit

Permalink
fix: 移动设备 Twitter 分享失败
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanDecode committed Jul 24, 2019
1 parent 7710c53 commit a7d40bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/VOID.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ var Share = {

toTwitter: function (item) {
var content = Share.parseItem(item);
var url = 'http://twitter.com/home/?status=分享《'+ content.title + '》 @' + content.twitter + '%0a%0a' + content.excerpt
var url = 'https://twitter.com/intent/tweet?text=分享《'+ content.title + '》 @' + content.twitter + '%0a%0a' + content.excerpt
+ '%20' + content.url;
window.open(url);
}
Expand Down

0 comments on commit a7d40bc

Please sign in to comment.