Merge pull request #4 from andybalaam/open-in-same-tab

Open Mastodon in the same tab
This commit is contained in:
Nikita Karamov 2020-09-25 12:04:44 +02:00 committed by GitHub
commit b64d34390c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,5 +79,5 @@ document
} }
var shareUrl = instance + "share?text=" + encodeURIComponent(text); var shareUrl = instance + "share?text=" + encodeURIComponent(text);
window.open(shareUrl, '_blank', 'noopener,noreferrer') window.location.href = shareUrl;
}) })