navidrome/ui/src/utils/openInNewTab.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
109 B
JavaScript
Raw Normal View History

2021-06-09 22:35:20 -04:00
export const openInNewTab = (url) => {
const win = window.open(url, '_blank')
win.focus()
2021-06-21 21:20:44 -04:00
return win
2021-06-09 22:35:20 -04:00
}