瀏覽代碼

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);
     }