From 81810f0dd749fbb30ccb5f2be55d912619848c08 Mon Sep 17 00:00:00 2001 From: vv01f Date: Mon, 29 May 2023 13:53:36 +0200 Subject: [PATCH] set standard on page load --- kole.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kole.html b/kole.html index 5fa2769..14eb301 100644 --- a/kole.html +++ b/kole.html @@ -133,8 +133,6 @@ } s.addEventListener('click', function(){ - c.selectedIndex=0; - z.disabled=true; if(bk.checked){ e.value = roundCents( getFormFloat(k) * ( 1 + getFormFloat(u) / 100 ) / ( 1 - getFormFloat(z) / 100 ) ); n.value = roundCents( getFormFloat(k) / ( 1 - getFormFloat(z) / 100 ) ); @@ -170,6 +168,11 @@ break;; } }); + // set entropy tax to standard value + c.selectedIndex=0; + z.value='23.00'; + z.disabled=true; + // calc s.click();