mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 17:23:02 +00:00
The Facebook share API only accepts a URL. Fixes #1623
This commit is contained in:
@@ -46,7 +46,7 @@ iD.ui.Success = function(context) {
|
||||
.attr('target', '_blank')
|
||||
.attr('href', function() {
|
||||
return 'https://facebook.com/sharer/sharer.php?u=' +
|
||||
encodeURIComponent(message);
|
||||
encodeURIComponent(context.connection().changesetURL(changeset.id));
|
||||
})
|
||||
.text(t('success.facebook'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user