Skip to content

Commit

Permalink
handle repeat offenders
Browse files Browse the repository at this point in the history
  • Loading branch information
deilann committed Sep 30, 2023
1 parent 4b5f824 commit 7a2c0a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion k-graphing/kApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ function populate() {
} else if (noWarns === 1) {
details.innerHTML = 'I\'d ask again if you know what no means, but I\'ve already asked once.'
noWarns++
} else {
} else if (noWarns < 10) {
details.innerHTML = `Oh yay another warning to put with your other ${noWarns} warnings. It's kind of concerning how little you care about NO. (It means no.)`
noWarns++
} else {
window.location = './apologize.html';
}

noCount = 0
Expand Down

0 comments on commit 7a2c0a0

Please sign in to comment.