Hide loss to fraction row unless integer number mode
This commit is contained in:
parent
2f50d1c22d
commit
4d9846d8b7
@ -110,8 +110,10 @@
|
|||||||
elTd.innerText = 'Loss to fraction';
|
elTd.innerText = 'Loss to fraction';
|
||||||
elLTF1.appendChild(elTd);
|
elLTF1.appendChild(elTd);
|
||||||
|
|
||||||
tblResults.appendChild(elLTF1);
|
if (document.getElementById('numbers').value === 'int') {
|
||||||
tblResults.appendChild(elLTF2);
|
tblResults.appendChild(elLTF1);
|
||||||
|
tblResults.appendChild(elLTF2);
|
||||||
|
}
|
||||||
|
|
||||||
// Total row
|
// Total row
|
||||||
elTotal = document.createElement('tr');
|
elTotal = document.createElement('tr');
|
||||||
|
Reference in New Issue
Block a user