Skip to content

Commit

Permalink
Word/Definition questions bug fixed ('Digital blackboard mode' related).
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciogros committed Apr 26, 2024
1 parent 5f438d4 commit f8388dd
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2237,17 +2237,11 @@ var $eXeTrivial = {
$('#trivialEPhrase-' + instance).show();
$('#trivialDivResponder-' + instance).show();
$('#trivialAnswerDiv-' + instance).hide();

$('#trivialDivModeBoard-' + instance).hide();
if (mOptions.modeBoard) {
$('#trivialDivModeBoard-' + instance).css('display', 'flex');
$('#trivialDivModeBoard-' + instance).fadeIn();
}
if (typeof open !="undefined" && open) {
$('#trivialDivModeBoard-' + instance).css('display', 'flex');
$('#trivialDivModeBoard-' + instance).fadeIn();
$('#trivialEPhrase-' + instance).hide();
$('#trivialDivResponder-' + instance).hide();
}
if (!casesensitive) {
phrase = phrase.toUpperCase();
}
Expand Down Expand Up @@ -2282,7 +2276,6 @@ var $eXeTrivial = {
if (!solution) {
$('#trivialDefinition-' + instance).text(definition);
}

var html = $('#trivialWordDiv-' + instance).html(),
latex = /(?:\\\(|\\\[|\\begin\{.*?})/.test(html);
if (latex) {
Expand Down

0 comments on commit f8388dd

Please sign in to comment.