comma fixes
parent
804d616d1b
commit
d6ff4c8e2c
|
@ -13,6 +13,10 @@ const operatorPlus = document.getElementById("plus");
|
||||||
|
|
||||||
function appendToDisplay(input){
|
function appendToDisplay(input){
|
||||||
|
|
||||||
|
if(input=='.' && display.value.includes('.')){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(operatorSelected){
|
if(operatorSelected){
|
||||||
if(operator == '+'){
|
if(operator == '+'){
|
||||||
operatorPlus.style.backgroundColor = "#ff9f0a";
|
operatorPlus.style.backgroundColor = "#ff9f0a";
|
||||||
|
|
Loading…
Reference in New Issue