Skip to content

Commit 651b401

Browse files
committed
1 parent a06ab93 commit 651b401

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

calc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ function checkForBracketMulti() {
128128
return;
129129
} else {
130130
screen.value = eval(screenValue);
131+
screenValue = screen.value;
131132
let calcHistory = JSON.parse(localStorage.getItem("calcHistory")) || [];
132133
if (calcHistory.length >= maxItems) {
133134
calcHistory.shift();

0 commit comments

Comments
 (0)