Skip to content

Commit

Permalink
Merge pull request #71 from globaldyne/v6.5
Browse files Browse the repository at this point in the history
Fix conflicting fields
  • Loading branch information
globaldyne authored May 20, 2023
2 parents 5652a92 + bbc2e87 commit ea4bed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/views/tools/calcTools.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</tr>
<tr>
<td><input name="pof" type="text" id="pof"> is what percent of
<input name="quantity" type="text" id="quantity"></td>
<input name="cq" type="text" id="cq"></td>
<td><strong><div id="res2"></div></strong></td>
<td><button type="button" id="calc2" class="btn btn-primary">Calculate</button></td>
</tr>
Expand All @@ -34,7 +34,7 @@
});
$('#calc2').click(function() {
var c = $('#pof').val()/$('#quantity').val()*100;
var c = $('#pof').val()/$('#cq').val()*100;
$("#res2").html(" = " + c);
});
</script>

0 comments on commit ea4bed8

Please sign in to comment.