added hyphen post prefix

master
Michael Murtaugh 2 years ago
parent 6d37064c57
commit e4af70e5b4

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

Loading…
Cancel
Save