Commit cba756ad authored by alexpott's avatar alexpott

Issue #2584869 by eyilmaz: States collapsed/open/closed doesn't work for <details>

parent 1546d71f
......@@ -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');
}
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment