Add files via upload
This commit is contained in:
@@ -321,7 +321,7 @@ let around = ['戀愛中的ooo',
|
||||
'來一個ooo',
|
||||
'我把ooo弄丟了',
|
||||
'ooo好神奇',
|
||||
'你才ooo,你全家都xxx',
|
||||
'你才ooo,你全家都ooo',
|
||||
'失眠的ooo',
|
||||
'明天的ooo',
|
||||
'愛的ooo',
|
||||
|
@@ -131,8 +131,8 @@ function randomTempo() {
|
||||
|
||||
function randomTitle() {
|
||||
let result = around[Math.floor(Math.random() * around.length)];
|
||||
result = result.replace("ooo", noun[Math.floor(Math.random() * noun.length)]);
|
||||
result = result.replace("xxx", noun[Math.floor(Math.random() * noun.length)]);
|
||||
result = result.replace(/ooo/g, noun[Math.floor(Math.random() * noun.length)]);
|
||||
result = result.replace(/xxx/g, noun[Math.floor(Math.random() * noun.length)]);
|
||||
document.getElementById("titleResult").innerHTML = "🤔 " + result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user