Merge pull request #4 from andybalaam/open-in-same-tab
Open Mastodon in the same tab
This commit is contained in:
commit
b64d34390c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
})
|
})
|
||||||
|
|
Reference in a new issue