comma fixes

testBranch
s.eser 2024-04-26 20:35:51 +02:00
parent 804d616d1b
commit d6ff4c8e2c
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ const operatorPlus = document.getElementById("plus");
function appendToDisplay(input){
if(input=='.' && display.value.includes('.')){
return;
}
if(operatorSelected){
if(operator == '+'){
operatorPlus.style.backgroundColor = "#ff9f0a";