Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
cba756ad
Commit
cba756ad
authored
Jan 04, 2016
by
alexpott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2584869
by eyilmaz: States collapsed/open/closed doesn't work for <details>
parent
1546d71f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/misc/states.js
core/misc/states.js
+1
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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