Explorar o código

Make more info link open in new tab

Thomas Dy %!s(int64=4) %!d(string=hai) anos
pai
achega
8375834d0d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
     }