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
1 changed files with 1 additions and 1 deletions

View File

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