mirror of
https://github.com/mehotkhan/BandersnatchInteractive.git
synced 2025-07-27 17:23:22 +00:00
feat: add choice value to see if it's image or not
This commit is contained in:
parent
76cc3bbe52
commit
7208052669
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ function addChoices(r) {
|
|||
let index = 0;
|
||||
for (let x of r.choices) {
|
||||
var caption = r.defaultChoiceIndex == index ? '[' + x.text + ']' : x.text;
|
||||
addItem(ul, caption, 'javascript:choice(' + index + ')');
|
||||
addItem(ul, caption, 'javascript:choice(' + index + ')', x);
|
||||
index++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue