fix restart due to module
This commit is contained in:
		
							
								
								
									
										1
									
								
								app.js
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								app.js
									
									
									
									
									
								
							| @ -620,6 +620,7 @@ function changeKey(input) { | |||||||
| class Stats { | class Stats { | ||||||
|     constructor() { |     constructor() { | ||||||
|         this.modal = new bootstrap.Modal('#statsModal') |         this.modal = new bootstrap.Modal('#statsModal') | ||||||
|  |         restartButton.onclick = restart | ||||||
|         this.load() |         this.load() | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  | |||||||
| @ -145,7 +145,7 @@ | |||||||
|                 </table> |                 </table> | ||||||
|               </div> |               </div> | ||||||
|               <div class="modal-footer"> |               <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> |             </div> | ||||||
|           </div> |           </div> | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user