Skip to content

Commit 8dc6dbb

Browse files
committed
fixed an issue with AC key and history
1 parent 61ea111 commit 8dc6dbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ class Calculator extends History {
7474
this.setState({
7575
input: []
7676
});
77+
this.redoUndoKeyPressed = this.history.length;
7778
}
7879

7980
setState(obj, total) {

0 commit comments

Comments
 (0)