mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +00:00
Merge pull request #690 from vijaymarupudi/master
Fix callback check typo in jsPsych.addNodeToEndOfTimeline; add video to registerPreload docs
This commit is contained in:
commit
c9237d33da
@ -309,7 +309,7 @@ window.jsPsych = (function() {
|
||||
|
||||
core.addNodeToEndOfTimeline = function(new_timeline, preload_callback){
|
||||
timeline.insert(new_timeline);
|
||||
if(typeof preload_callback !== 'undefinded'){
|
||||
if(typeof preload_callback !== 'undefined'){
|
||||
if(opts.auto_preload){
|
||||
jsPsych.pluginAPI.autoPreload(timeline, preload_callback);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user