Skip to content

Commit

Permalink
using window.open instead of popup with song url
Browse files Browse the repository at this point in the history
  • Loading branch information
stCarolas committed May 12, 2024
1 parent 88ff242 commit 8761c11
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/MediaWidget/PlaylistComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ export default function PlaylistComponent({
<button
className="btn btn-outline-light share"
onClick={() => {
navigator.clipboard.writeText(song.src);
setUrlToCopy(song.src);
window.open(song.src, undefined, "popup=true");
}}
>
<span className="material-symbols-sharp">
Expand Down

0 comments on commit 8761c11

Please sign in to comment.