Use the name gener-communes for the HTML element that is replaced by the generator

This commit is contained in:
Feufochmar 2019-11-06 12:33:57 +01:00
parent 0722a0102b
commit 76de56d601
2 changed files with 2 additions and 2 deletions

View File

@ -372,7 +372,7 @@ genercommunes.drawDiv = function (model) {
contents += '<button onClick="genercommunes.generateName()">Générer</button>'
contents += '<br/>'
contents += '<span id="commune-name"> </span><br/></div>'
document.getElementById('genercommunes').innerHTML = contents
document.getElementById('gener-communes').innerHTML = contents
}
// Load the model

View File

@ -11,7 +11,7 @@
<h1>Un Village en France</h1>
</header>
<article>
<div id="genercommunes"></div>
<div id="gener-communes"></div>
</article>
<footer>Un générateur de nom de commune française, par Feufochmar.</footer>
</body>