From e95b1e9ce85a856080d70f236df5d61246f52cff Mon Sep 17 00:00:00 2001
From: Beyza Turbil <91tube1bif@hft-stuttgart.de>
Date: Thu, 20 Jan 2022 11:33:32 +0100
Subject: [PATCH] bug fix

---
 public/main.html | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/public/main.html b/public/main.html
index e7bfdf1..790dc6e 100644
--- a/public/main.html
+++ b/public/main.html
@@ -274,17 +274,16 @@
                  
                  <div class="select">
                      <select id="selectBox" onmouseover="chosenAttributeHandler(this);">
-                         <option class=specificYield key= specificYield id="specificYield" value="specificYield" type= "selectBox" onclick="chosenAttributeHandler(this);">Specific Yield</option>                        
-                         <option class=totalInvestment key="totalInvestment" type="selectBox">Total Investment</option>
-                         <option class="maintenancePerYear" key="maintenancePerYear" type="selectBox">Maintenance Per Year</option>
-                         <option class="netPresentValue" key="netPresentValue" type="selectBox">Net Present Value</option>
-                         <option class="nominalPower" key="nominalPower" type="selectBox">Nominal Power</option>
-                         <option class="paybackPeriod" key="paybackPeriod" type="selectBox">Payback Period</option>
-                         <option class="levelizedCostOfElectricity" key="levelizedCostOfElectricity" type="selectBox">Levelized Cost Of Electricity</option>
-                         <option class="internalRateOfReturn" key="internalRateOfReturn" type="selectBox">Internal Rate Of Return</option>
-                         <option class="discountedPaybackPeriod" key="discountedPaybackPeriod" type="selectBox">Discounted Payback Period</option>
-                         <option class="shadowValue" key="shadowValue" type="selectBox">Shadow Value</option>
-                         
+                         <option class=specificYield key= specificYield id="specificYield" value="specificYield" type= "selectBox" >Specific Yield</option>                        
+                         <option class=totalInvestment key="totalInvestment" id="totalInvestment" value="totalInvestment" type="selectBox" >Total Investment</option>
+                         <option class="maintenancePerYear" key="maintenancePerYear" value="maintenancePerYear" type="selectBox" >Maintenance Per Year</option>
+                         <option class="netPresentValue" key="netPresentValue" value="netPresentValue" type="selectBox" >Net Present Value</option>
+                         <option class="nominalPower" key="nominalPower" value="nominalPower" type="nominalPower" >Nominal Power</option>
+                         <option class="paybackPeriod" key="paybackPeriod" value="paybackPeriod" id="selectBox">Payback Period</option>
+                         <option class="levelizedCostOfElectricity" key="levelizedCostOfElectricity" value="levelizedCostOfElectricity" type="selectBox" >Levelized Cost Of Electricity</option>
+                         <option class="internalRateOfReturn" key="internalRateOfReturn" value="internalRateOfReturn" type="selectBox" >Internal Rate Of Return</option>
+                         <option class="discountedPaybackPeriod" key="discountedPaybackPeriod" value="discountedPaybackPeriod" type="selectBox" >Discounted Payback Period</option>
+                         <option class="shadowValue" key="shadowValue" value="shadowValue" type="selectBox" >Shadow Value</option>
                      </select>
                      <span class="focus"></span>
                    </div>
-- 
GitLab