From f2dc18eeebd3f624759bfd0a6d45de35134a5fc8 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 29 Mar 2021 00:46:47 +0100 Subject: [PATCH] fixed corrected not resetting on history push --- src/js/test/test-logic.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/test/test-logic.js b/src/js/test/test-logic.js index b3161deaf..ec51e0e2d 100644 --- a/src/js/test/test-logic.js +++ b/src/js/test/test-logic.js @@ -153,6 +153,8 @@ class Corrected { pushHistory() { this.history.push(this.current); + this.current = ""; + console.log(this.history); } }