From 98e9f43af05df308430028ab05bba0adc9a9448a Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Mon, 20 Jan 2014 16:12:15 -0500 Subject: [PATCH] css cleanup (#13) --- plugins/jspsych-single-stim.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/jspsych-single-stim.js b/plugins/jspsych-single-stim.js index b3988602..b8269ffe 100644 --- a/plugins/jspsych-single-stim.js +++ b/plugins/jspsych-single-stim.js @@ -63,13 +63,13 @@ if (!trial.is_html) { display_element.append($('', { src: trial.a_path, - id: 'ss' + id: 'jspsych-single-stim-stimulus' })); } else { display_element.append($('
', { html: trial.a_path, - id: 'ss' + id: 'jspsych-single-stim-stimulus' })); } @@ -117,7 +117,7 @@ // after a valid response, the stimulus will have the CSS class 'responded' // which can be used to provide visual feedback that a response was recorded - $("#ss").addClass('responded'); + $("#jspsych-single-stim-stimulus").addClass('responded'); if (trial.continue_after_response) { // response triggers the next trial in this case. @@ -134,7 +134,7 @@ if (trial.timing_stim > 0) { setTimeout(function() { if (!trial_complete) { - $('#ss').css('visibility', 'hidden'); + $('#jspsych-single-stim-stimulus').css('visibility', 'hidden'); } }, trial.timing_stim); } @@ -153,4 +153,4 @@ return plugin; })(); -})(jQuery); \ No newline at end of file +})(jQuery);