Skip to content

Commit

Permalink
Fix for radio buttons
Browse files Browse the repository at this point in the history
Fix for radio buttons causing table data to disappear
  • Loading branch information
djbooth007 authored Aug 27, 2021
1 parent a4a9d6e commit 923529c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ let connect = function () {
this.change_status = status => {
const table = document.getElementById('invoice_list');
for (let i = 0, row; row = table.rows[i]; i++) {
row.style.display = 'table-row';
if (
status == 'paid' && row.dataset.status == 'unpaid' ||
status == 'unpaid' && row.dataset.status == 'paid'
Expand Down

0 comments on commit 923529c

Please sign in to comment.