bug fixes

This commit is contained in:
Josh de Leeuw 2015-02-18 12:27:26 -05:00
parent 29a57fbe14
commit 849c468275
2 changed files with 13 additions and 1 deletions

View File

@ -211,6 +211,18 @@ button:hover {
margin-right: auto;
}
/*
*
* PLUGIN: jspsych-visual-search-circle
*
*/
#jspsych-visual-search-circle-svg {
display: block;
margin-left: auto;
margin-right: auto;
}
/*
*
* PLUGIN: jspsych-single-stim

View File

@ -78,7 +78,7 @@
}
// get target to draw on
display_element.appent($('<svg id="jspsych-visual-search-circle-svg" width=' + paper_size + ' height=' + paper_size + '></svg>'))
display_element.append($('<svg id="jspsych-visual-search-circle-svg" width=' + paper_size + ' height=' + paper_size + '></svg>'));
var paper = Snap('#jspsych-visual-search-circle-svg');
show_fixation();