Skip to content

Commit

Permalink
Use MathQuill answer boxes on "Show me another" problems if the option
Browse files Browse the repository at this point in the history
to use MathQuill answer boxes is enabled.  Currently the input is hidden
and no MathQuill answer box is injected.
  • Loading branch information
drgrice1 committed Dec 29, 2019
1 parent be75acc commit 567b77e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/WeBWorK/ContentGenerator/ShowMeAnother.pm
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ sub pre_header_initialize {

$self->{showMeAnother} = \%showMeAnother;
$self->{pg} = $pg;
WeBWorK::ContentGenerator::ProblemUtil::ProblemUtil::insert_mathquill_responses($self, $pg)
if ($self->{will}->{useMathQuill});
}

# We disable showOldAnswers because old answers are answers to the original
Expand Down

0 comments on commit 567b77e

Please sign in to comment.