mirror of
https://github.com/Solo-Web-Works/BillTrak.git
synced 2026-10-31 19:00:27 +00:00
🐞 fix: Get rid of SonarLint style conflict error
This commit is contained in:
1 parent
1c7f43d7b1
commit
2740050965
2 files changed
+6
-4
No files matched your search
@@ -111,6 +111,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
document.getElementById('editFormBillName').value = bill.billName;
|
||||
|
||||
// Open the modal
|
||||
document.getElementById('editModal').classList.add('flex');
|
||||
document.getElementById('editModal').classList.remove('hidden');
|
||||
}
|
||||
|
||||
@@ -191,11 +192,12 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
// Event listener for close button in the modal
|
||||
document.getElementById('editFormCancel').addEventListener('click', () => {
|
||||
// Close the modal
|
||||
document.getElementById('editModal').classList.add('hidden');
|
||||
|
||||
// Clear modal fields
|
||||
document.getElementById('editForm').reset();
|
||||
|
||||
// Close the modal
|
||||
document.getElementById('editModal').classList.add('hidden');
|
||||
document.getElementById('editModal').classList.remove('flex');
|
||||
});
|
||||
|
||||
// On page load
|
||||
|
||||
Reference in new issue
Block a user