13 lines
293 B
JavaScript
13 lines
293 B
JavaScript
document.addEventListener("DOMContentLoaded", function() {
|
|
showTable('build', buildings);
|
|
let tableIsDisplayed = true;
|
|
tableVisibilityButton.addEventListener("click",()=>{
|
|
if(tableIsDisplayed){
|
|
|
|
}else{
|
|
showTable('build', buildings);
|
|
}
|
|
|
|
} )
|
|
|
|
}) |