소스 검색

Make more info link open in new tab

Thomas Dy 4 년 전
부모
커밋
8375834d0d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);
     }