diff --git a/assets/js/main.js b/assets/js/main.js index 9f1e562..07b121d 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -88,6 +88,10 @@ function EqualButton() { function SignButton(sign) { currentSign = sign; + if (oldNumber != "") { + EqualButton(); + } + oldNumber = currentNumber; currentNumber = "0"; RefreshResult();