Hide loss to fraction row unless integer number mode

This commit is contained in:
RunasSudo 2020-10-18 16:50:21 +11:00
parent 2f50d1c22d
commit 4d9846d8b7
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -110,8 +110,10 @@
elTd.innerText = 'Loss to fraction'; elTd.innerText = 'Loss to fraction';
elLTF1.appendChild(elTd); elLTF1.appendChild(elTd);
if (document.getElementById('numbers').value === 'int') {
tblResults.appendChild(elLTF1); tblResults.appendChild(elLTF1);
tblResults.appendChild(elLTF2); tblResults.appendChild(elLTF2);
}
// Total row // Total row
elTotal = document.createElement('tr'); elTotal = document.createElement('tr');