MOBILE-4470 lesson: Fix correct answers when teacher reviews
parent
f1ccc63795
commit
b7beaead0c
|
@ -469,7 +469,7 @@ export class AddonModLessonHelperProvider {
|
||||||
let input = element.querySelector<HTMLInputElement>('input[type="checkbox"][name*="answer"]');
|
let input = element.querySelector<HTMLInputElement>('input[type="checkbox"][name*="answer"]');
|
||||||
if (input) {
|
if (input) {
|
||||||
// Truefalse or multichoice.
|
// Truefalse or multichoice.
|
||||||
const successBadge = element.querySelector<HTMLElement>('.badge.badge-success');
|
const successBadge = element.querySelector<HTMLElement>('.badge.bg-success, .badge.badge-success');
|
||||||
const data: AddonModLessonCheckboxAnswerData = {
|
const data: AddonModLessonCheckboxAnswerData = {
|
||||||
isCheckbox: true,
|
isCheckbox: true,
|
||||||
checked: !!input.checked,
|
checked: !!input.checked,
|
||||||
|
|
|
@ -83,7 +83,8 @@ html[dir=rtl] {
|
||||||
|
|
||||||
@each $color-name, $unused in $colors {
|
@each $color-name, $unused in $colors {
|
||||||
.text-#{$color-name},
|
.text-#{$color-name},
|
||||||
p.text-#{$color-name} {
|
p.text-#{$color-name},
|
||||||
|
.text-#{$color-name} p {
|
||||||
color: var(--ion-color-#{$color-name}) !important;
|
color: var(--ion-color-#{$color-name}) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue