general: always unfold targetted cell (#64563)
This commit is contained in:
parent
af51c0c20b
commit
59a9d2f352
|
@ -267,6 +267,10 @@ $(function() {
|
|||
$cell_title.attr('aria-expanded', 'true');
|
||||
}
|
||||
}
|
||||
if (document.location.hash && document.location.hash.substr(1) == $cell.attr('id')) {
|
||||
// always unfold targeted cell
|
||||
$cell.removeClass('folded');
|
||||
}
|
||||
set_aria_expanded();
|
||||
$cell.find('> div > h2:first-child').on('keydown', function(ev) {
|
||||
if (ev.keyCode == 13 || ev.keyCode == 32) { // enter || space
|
||||
|
|
Loading…
Reference in New Issue