Skip to content

Commit

Permalink
format choice options same way if allowed vs. required
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim Scott committed Nov 13, 2020
1 parent 0468f63 commit f63507a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/exp-lookit-images-audio/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

{{#each images_parsed as |image|}}
<div id={{image.id}} class="story-image-container {{if image.position image.position}}" onclick={{action "clickImage" image.id image.nonChoiceOption image.correct image.feedbackText}}>
<img src={{image.src}} class="story-image {{if (and choiceRequired (not image.nonChoiceOption)) "choice-option"}}" alt={{image.alt}}>
<img src={{image.src}} class="story-image {{if (and (or choiceRequired choiceAllowed) (not image.nonChoiceOption)) "choice-option"}}" alt={{image.alt}}>
<audio class="feedback-audio" onended={{action "endFeedbackAudio" image.id image.correct}}>
{{#each image.feedbackAudio as |stream|}}
<source src={{stream.src}} type={{stream.type}}>
Expand Down

0 comments on commit f63507a

Please sign in to comment.