From 82ca14909219e8019bb2c83797e5b06d5cf19e54 Mon Sep 17 00:00:00 2001 From: jade <101148768+jadeddelta@users.noreply.github.com> Date: Tue, 29 Oct 2024 14:20:10 -0400 Subject: [PATCH] remove check for jspsych object in example --- examples/jspsych-extension-mouse-tracking.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/examples/jspsych-extension-mouse-tracking.html b/examples/jspsych-extension-mouse-tracking.html index 069eab41..886dd461 100644 --- a/examples/jspsych-extension-mouse-tracking.html +++ b/examples/jspsych-extension-mouse-tracking.html @@ -82,13 +82,8 @@ return true; } }; - - if (typeof jsPsych !== "undefined") { - jsPsych.run([trial_loop]); - } else { - document.body.innerHTML = '
You must be online to view the plugin demo.
'; - } - + + jsPsych.run([trial_loop]);