Liste déroulante pour les unités (convertDistance)

This commit is contained in:
Divlo
2019-08-16 12:28:46 +02:00
parent ae77f24fc8
commit 694bed6d59
2 changed files with 18 additions and 3 deletions

View File

@ -106,7 +106,7 @@ $(function () {
$( "#submitConvertDistance" ).click(function()
{
let firstValueEntered = $('#firstValue').val();
let secondValueEntered = $('#secondValue').val();
let secondValueEntered = $("#secondValue option:selected").text();
if(isEmptyValue(firstValueEntered) || isEmptyValue(secondValueEntered))
{