fix restart due to module
This commit is contained in:
parent
eda4e7324a
commit
4be430c9b3
1
app.js
1
app.js
@ -620,6 +620,7 @@ function changeKey(input) {
|
||||
class Stats {
|
||||
constructor() {
|
||||
this.modal = new bootstrap.Modal('#statsModal')
|
||||
restartButton.onclick = restart
|
||||
this.load()
|
||||
}
|
||||
|
||||
|
@ -145,7 +145,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" onclick="restart()">Rejouer ?</button>
|
||||
<button id="restartButton" type="button" class="btn btn-primary">Rejouer ?</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user