Skip to content

Commit

Permalink
Merge pull request #3414 from EitanHemed/patch-1
Browse files Browse the repository at this point in the history
Update jspsych-extension-mouse-tracking.html
  • Loading branch information
jodeleeuw authored Oct 29, 2024
2 parents 8787391 + 82ca149 commit 57c0da6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions examples/jspsych-extension-mouse-tracking.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,8 @@
return true;
}
};

if (typeof jsPsych !== "undefined") {
jsPsych.run([start, trial_loop]);
} else {
document.body.innerHTML = '<div style="text-align:center; margin-top:50%; transform:translate(0,-50%);">You must be online to view the plugin demo.</div>';
}


jsPsych.run([trial_loop]);
</script>

</html>

0 comments on commit 57c0da6

Please sign in to comment.