comma fixes
parent
804d616d1b
commit
d6ff4c8e2c
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue