Skip to content

Commit

Permalink
feat(social): Add post title on twitter share #9
Browse files Browse the repository at this point in the history
  • Loading branch information
oswaldoacauan committed Nov 18, 2013
1 parent 6334a34 commit 4bce6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/js/scripts.js
Expand Up @@ -105,7 +105,7 @@
break;
case 'share-twitter':
_openWindow(
'https://twitter.com/share?url=' + encodeURIComponent(location.href),
'https://twitter.com/share?url=' + encodeURIComponent(location.href) + '&text=' + encodeURIComponent(document.title),
440, 550);
break;
}
Expand Down

0 comments on commit 4bce6b2

Please sign in to comment.