From 2bcde3c76f743bf862b4f62aee12ccd9fe496f6e Mon Sep 17 00:00:00 2001 From: deilann Date: Sat, 30 Sep 2023 07:46:39 -0500 Subject: [PATCH] handle isue with persistant autonomy --- k-graphing/kApp.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/k-graphing/kApp.js b/k-graphing/kApp.js index 25673d0..a70cbcd 100644 --- a/k-graphing/kApp.js +++ b/k-graphing/kApp.js @@ -39,6 +39,7 @@ function populate() { } function kPlusPlus() { + autonomy.innerHTML = '' if (k > 49 ) { choiceHead.innerHTML += ' NO ' } else { @@ -50,6 +51,7 @@ function kPlusPlus() { } function kMinusMinus() { + autonomy.innerHTML = '' if (k < 2) { choiceHead.innerHTML += ' NO ' } else { @@ -61,6 +63,7 @@ function kMinusMinus() { } function kZero() { + autonomy.innerHTML = '' k.reset() choiceHead.innerHTML = 'Choose Wisely' kView.innerHTML = k