Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plugins bot
moodle-plugins-snapshots
Commits
88107dc9
Commit
88107dc9
authored
Jan 31, 2017
by
Andrew Nicols
Browse files
Merge branch 'MDL-35978-master-blockfix' of
https://github.com/snake/moodle
parents
b462c655
bb807685
Changes
1
Hide whitespace changes
Inline
Side-by-side
comment/comment.js
View file @
88107dc9
...
...
@@ -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]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment