Sfoglia il codice sorgente

Make more info link open in new tab

Thomas Dy 4 anni fa
parent
commit
8375834d0d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/game/select.ts

+ 1 - 0
src/game/select.ts

@@ -78,6 +78,7 @@ export class SelectScreen implements Screen {
     if (level.songLink) {
       const link = document.createElement('a');
       link.href = level.songLink;
+      link.target = '_blank';
       link.textContent = 'More info';
       linkContainer.appendChild(link);
     }