mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MDL-35978-master-blockfix' of https://github.com/snake/moodle
This commit is contained in:
commit
88107dc944
@ -358,7 +358,9 @@ M.core_comment = {
|
||||
if (img) {
|
||||
img.set('src', M.util.image_url('t/expanded', 'core'));
|
||||
}
|
||||
commenttoggler.setAttribute('aria-expanded', 'true');
|
||||
if (commenttoggler) {
|
||||
commenttoggler.setAttribute('aria-expanded', 'true');
|
||||
}
|
||||
} else {
|
||||
// hide
|
||||
container.setStyle('display', 'none');
|
||||
@ -372,7 +374,9 @@ M.core_comment = {
|
||||
if (ta) {
|
||||
ta.set('value','');
|
||||
}
|
||||
commenttoggler.setAttribute('aria-expanded', 'false');
|
||||
if (commenttoggler) {
|
||||
commenttoggler.setAttribute('aria-expanded', 'false');
|
||||
}
|
||||
}
|
||||
if (ta) {
|
||||
//toggle_textarea.apply(ta, [false]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user