Skip to content

Commit

Permalink
handle isue with persistant autonomy
Browse files Browse the repository at this point in the history
  • Loading branch information
deilann committed Sep 30, 2023
1 parent 97be5d2 commit 2bcde3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions k-graphing/kApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function populate() {
}

function kPlusPlus() {
autonomy.innerHTML = ''
if (k > 49 ) {
choiceHead.innerHTML += ' NO '
} else {
Expand All @@ -50,6 +51,7 @@ function kPlusPlus() {
}

function kMinusMinus() {
autonomy.innerHTML = ''
if (k < 2) {
choiceHead.innerHTML += ' NO '
} else {
Expand All @@ -61,6 +63,7 @@ function kMinusMinus() {
}

function kZero() {
autonomy.innerHTML = ''
k.reset()
choiceHead.innerHTML = 'Choose Wisely'
kView.innerHTML = k
Expand Down

0 comments on commit 2bcde3c

Please sign in to comment.