Fix for sometimes not getting the correct complexity for logic
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user