Skip to content

Commit

Permalink
Fixed Bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
withinJoel committed Aug 16, 2024
1 parent 1deca3c commit 04392ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/resources/main/static/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ <h2 class="card-title">Project List</h2>
const form = document.getElementById('add-project-form');
form.style.display = form.style.display === 'none' ? 'block' : 'none';
document.getElementById('project-form').reset();
document.querySelector('.btn-primary-action').textContent = 'Add';
document.querySelector('.btn-secondary-action').textContent = 'Add';
document.querySelector('.btn-primary-action').setAttribute('onclick', 'addProject()');
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/static/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ <h2 class="card-title">Project List</h2>
const form = document.getElementById('add-project-form');
form.style.display = form.style.display === 'none' ? 'block' : 'none';
document.getElementById('project-form').reset();
document.querySelector('.btn-primary-action').textContent = 'Add';
document.querySelector('.btn-secondary-action').textContent = 'Add';
document.querySelector('.btn-primary-action').setAttribute('onclick', 'addProject()');
}

Expand Down

0 comments on commit 04392ca

Please sign in to comment.