|
|
@ -21,7 +21,7 @@ fetch("terms.json")
|
|
|
|
nn.querySelector(".actor").innerHTML = choice(terms['actor']);
|
|
|
|
nn.querySelector(".actor").innerHTML = choice(terms['actor']);
|
|
|
|
nn.querySelector(".action").innerHTML = choice(terms['action']);
|
|
|
|
nn.querySelector(".action").innerHTML = choice(terms['action']);
|
|
|
|
if (randint(0, 2) == 0) {
|
|
|
|
if (randint(0, 2) == 0) {
|
|
|
|
nn.querySelector(".prefix").innerHTML = choice(terms['prefix']);
|
|
|
|
nn.querySelector(".prefix").innerHTML = choice(terms['prefix']) + '-';
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
nn.querySelector(".prefix").remove();
|
|
|
|
nn.querySelector(".prefix").remove();
|
|
|
|
}
|
|
|
|
}
|
|
|
|