Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
PepeOnGithub authored May 28, 2024
1 parent c83e785 commit ab65ef5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
function selectPack(packType) {
document.getElementById('packType').value = packType;
document.querySelector('.container').style.display = 'none';
document.getElementById('selection-container').style.display = 'none';
document.getElementById('form-container').style.display = 'block';
document.getElementById('form-title').textContent = packType === 'resources' ? 'Resources Pack Generator' : 'Behavior Pack Generator';
}

function goBack() {
document.getElementById('selection-container').style.display = 'block';
document.getElementById('form-container').style.display = 'none';
}

function generateManifest() {
Expand Down

0 comments on commit ab65ef5

Please sign in to comment.