Skip to content

Commit

Permalink
fix: no window.open
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka-0x447f authored and Jack-Works committed Nov 5, 2019
1 parent 6fd2dd1 commit e9d0b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/social-network-provider/twitter.com/ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const instanceOfTwitterUI = defineSocialNetworkUI({
.then(granted => {
if (granted) {
setStorage(host, { forceDisplayWelcome: true }).then()
window.open(hostURL as string)
location.href = hostURL
}
})
},
Expand Down

0 comments on commit e9d0b07

Please sign in to comment.