曲を投稿できるようにする
This commit is contained in:
@@ -203,16 +203,18 @@ class SongSelect{
|
||||
})
|
||||
|
||||
// カスタムメニュー
|
||||
this.songs.push({
|
||||
title: "ソースコード",
|
||||
skin: this.songSkin.sourceCode,
|
||||
action: "sourceCode",
|
||||
});
|
||||
this.songs.push({
|
||||
title: "曲を投稿",
|
||||
skin: this.songSkin.upload,
|
||||
action: "upload",
|
||||
});
|
||||
// this.songs.push({
|
||||
// title: "ソースコード",
|
||||
// skin: this.songSkin.sourceCode,
|
||||
// action: "sourceCode",
|
||||
// });
|
||||
for (let i = 0; i < 10; i++) {
|
||||
this.songs.push({
|
||||
title: "曲を投稿!",
|
||||
skin: this.songSkin.upload,
|
||||
action: "upload",
|
||||
});
|
||||
}
|
||||
|
||||
this.songs.push({
|
||||
title: strings.back,
|
||||
@@ -842,8 +844,8 @@ class SongSelect{
|
||||
} else if (currentSong.action === "upload") {
|
||||
this.playSound("se_don");
|
||||
setTimeout(() => {
|
||||
open("https://upload.taikoapp.uk/","_blank");
|
||||
}, 500);
|
||||
window.location.href = "/upload/";
|
||||
}, 20);
|
||||
}
|
||||
}
|
||||
this.pointer(false)
|
||||
|
||||
Reference in New Issue
Block a user