Use the name gener-communes for the HTML element that is replaced by the generator
This commit is contained in:
parent
0722a0102b
commit
76de56d601
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue