fixed browser-check typo in doc demos

This commit is contained in:
Zhaobin Li 2022-10-18 12:08:37 -04:00
parent c75c80b7e7
commit bba13d3c99

View File

@ -17,7 +17,9 @@
inclusion_function: (data) => { inclusion_function: (data) => {
return ['chrome', 'firefox'].includes(data.browser); return ['chrome', 'firefox'].includes(data.browser);
}, },
exclusion_message: `<p>You must use Chrome or Firefox to complete this experiment.</p>` exclusion_message: (data) => {
return `<p>You must use Chrome or Firefox to complete this experiment.</p>`
},
}; };
const timeline = [trial]; const timeline = [trial];