Fix for sometimes not getting the correct complexity for logic

This commit is contained in:
2024-11-11 15:11:16 -05:00
parent 6f52b3051e
commit 7ea891f3b3
2 changed files with 2 additions and 6 deletions

View File

@@ -96,11 +96,7 @@ function firstOperation() {
// Checks if the game has already been played and if this was a completed game sends the event.
if (firstOperationAttempts != 0) {
_paq.push(
[
"trackEvent",
"Truth Tree",
`Complexity : ${localStorage.firstOperationComplexity}`,
],
["trackEvent", "Truth Tree", `Complexity : ${complexity}`],
`Attempts : ${firstOperationAttempts}`
);
firstOperationAttempts = 0;

View File

@@ -17,7 +17,7 @@
include '../include/menu.php';
echo "<div class='main'>";
?>
<script type='text/javascript' src='index.js?v=1.0.2'></script>
<script type='text/javascript' src='index.js?v=1.0.3'></script>
<h1>Truth Tree Quiz</h1>
<p>Notes for all the logic symbols:</p>
<ul>