From e0882ecdb994281f8736fc548e2a3248a604ba0d Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Sun, 21 Nov 2021 19:06:59 +0100 Subject: [PATCH] pullup: conditional and at 2000 --- js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 4716f87..7f87fb7 100644 --- a/js/main.js +++ b/js/main.js @@ -43,7 +43,6 @@ $.getJSON("data.json", function (d) { displayQuestion(); }); function displayQuestion() { - if(total < 200) sef("pullup"); $("html, body").scrollTop(0); if (total < 1) { audio.pause(); @@ -52,6 +51,8 @@ function displayQuestion() { $("#loose").show(); } else { + + if(total < 2000) sef("pullup"); var index = 0; // sends comrad Dwayne to help (or calls him back)