mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 03:51:26 +01:00
closes #4010
This commit is contained in:
@@ -32,7 +32,7 @@ define('share', function() {
|
||||
});
|
||||
|
||||
addHandler('.twitter-share', function () {
|
||||
return openShare('https://twitter.com/intent/tweet?text=' + name + '&url=', getPostUrl($(this)), 550, 420);
|
||||
return openShare('https://twitter.com/intent/tweet?text=' + encodeURIComponent(name) + '&url=', getPostUrl($(this)), 550, 420);
|
||||
});
|
||||
|
||||
addHandler('.facebook-share', function () {
|
||||
|
||||
Reference in New Issue
Block a user