general: only apply accessible foldable support once (#38900)
This commit is contained in:
parent
fca2f06371
commit
aa5099c771
|
@ -220,6 +220,9 @@ $(function() {
|
|||
return;
|
||||
}
|
||||
var $cell_title = $cell.find('> div > h2:first-child');
|
||||
if ($cell_title.attr('aria-expanded') !== undefined) { // already prepared
|
||||
return;
|
||||
}
|
||||
$cell_title.attr('tabindex', '0');
|
||||
$cell_title.attr('role', 'button');
|
||||
function set_aria_expanded() {
|
||||
|
|
Loading…
Reference in New Issue