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
1 changed files with 4 additions and 2 deletions

View File

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