Skip to content

Commit c75c80b

Browse files
author
Zhaobin Li
committed
fixed browser-check typo in doc example
1 parent 7e62982 commit c75c80b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/plugins/browser-check.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ import browserCheck from '@jspsych/plugin-browser-check';
123123
inclusion_function: (data) => {
124124
return ['chrome', 'firefox'].includes(data.browser);
125125
},
126-
exclusion_message: `<p>You must use Chrome or Firefox to complete this experiment.</p>`
126+
exclusion_message: (data) => {
127+
return `<p>You must use Chrome or Firefox to complete this experiment.</p>`
128+
},
127129
};
128130
```
129131

0 commit comments

Comments
 (0)