Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
cba756ad
Commit
cba756ad
authored
Jan 04, 2016
by
Alex Pott
Browse files
Issue
#2584869
by eyilmaz: States collapsed/open/closed doesn't work for <details>
parent
1546d71f
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/misc/states.js
View file @
cba756ad
...
...
@@ -635,7 +635,7 @@
$
(
document
).
on
(
'
state:collapsed
'
,
function
(
e
)
{
if
(
e
.
trigger
)
{
if
(
$
(
e
.
target
).
is
(
'
[open]
'
)
===
e
.
value
)
{
$
(
e
.
target
).
find
(
'
> summary
a
'
).
trigger
(
'
click
'
);
$
(
e
.
target
).
find
(
'
> summary
'
).
trigger
(
'
click
'
);
}
}
});
...
...
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