Skip to content

Commit

Permalink
window.open _blank for twitter
Browse files Browse the repository at this point in the history
closes #1163
  • Loading branch information
mfix22 committed Jan 21, 2021
1 parent e66d134 commit 62955fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api.js
Expand Up @@ -52,7 +52,7 @@ function openTwitterUrl(twitterUrl) {
const top = (window.outerHeight - height) / 2
const opts = `status=1,width=${width},height=${height},top=${top},left=${left}`

window.open(twitterUrl, 'twitter', opts)
window.open(twitterUrl, '_blank', opts)
}

const downloadThumbnailImage = img => {
Expand Down

0 comments on commit 62955fd

Please sign in to comment.