mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-09-30 21:29:31 +02:00
test commit
This commit is contained in:
parent
8718d18a40
commit
bebef0d7d3
@ -77,6 +77,12 @@ class SongSelect{
|
||||
border: ["lightblue", "darkblue"],
|
||||
outline: "darkblue",
|
||||
},
|
||||
"upload": {
|
||||
sort: 0,
|
||||
background: "gold",
|
||||
border: ["lightgold", "darkgold"],
|
||||
outline: "darkgold",
|
||||
},
|
||||
"default": {
|
||||
sort: null,
|
||||
background: "rgb(236,236,236,.2)",
|
||||
@ -202,6 +208,11 @@ class SongSelect{
|
||||
skin: this.songSkin.sourceCode,
|
||||
action: "sourceCode",
|
||||
});
|
||||
this.songs.push({
|
||||
title: "曲を投稿",
|
||||
skin: this.songSkin.upload,
|
||||
action: "upload",
|
||||
});
|
||||
|
||||
this.songs.push({
|
||||
title: strings.back,
|
||||
@ -816,7 +827,12 @@ class SongSelect{
|
||||
else if (currentSong.action === "sourceCode") {
|
||||
this.playSound("se_don");
|
||||
setTimeout(() => {
|
||||
location.href = "https://codeberg.org/mofusky/play-taiko-web";
|
||||
open("https://codeberg.org/mofusky/play-taiko-web","_blank");
|
||||
}, 500);
|
||||
} else if (currentSong.action === "upload") {
|
||||
this.playSound("se_don");
|
||||
setTimeout(() => {
|
||||
open("https://upload.yuuk1.tk/","_blank");
|
||||
}, 500);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user