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"]');
|
||||
if (input) {
|
||||
// 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 = {
|
||||
isCheckbox: true,
|
||||
checked: !!input.checked,
|
||||
|
|
|
@ -83,7 +83,8 @@ html[dir=rtl] {
|
|||
|
||||
@each $color-name, $unused in $colors {
|
||||
.text-#{$color-name},
|
||||
p.text-#{$color-name} {
|
||||
p.text-#{$color-name},
|
||||
.text-#{$color-name} p {
|
||||
color: var(--ion-color-#{$color-name}) !important;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue