Add files via upload

This commit is contained in:
Wiwi Kuan
2021-06-21 01:04:35 +08:00
committed by GitHub
parent 4444adc2c5
commit b96fd62eef
2 changed files with 3 additions and 3 deletions

View File

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