File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -96,11 +96,13 @@ function onNodeAdded(target) {
9696 onSelectMenuItemChanged ( elem ) ;
9797 }
9898 // Table lists; e.g. in issue listings.
99- for ( elem of target . querySelectorAll ( ".table-list " ) )
99+ for ( elem of target . querySelectorAll ( ".Box-body " ) )
100100 elem . setAttribute ( "role" , "table" ) ;
101- for ( elem of target . querySelectorAll ( ".table-list-item" ) )
101+ for ( elem of target . querySelectorAll ( ".d-table" ) )
102+ elem . setAttribute ( "role" , "presentation" ) ;
103+ for ( elem of target . querySelectorAll ( ".Box-body-row" ) )
102104 elem . setAttribute ( "role" , "row" ) ;
103- for ( elem of target . querySelectorAll ( ".table-list -cell" ) )
105+ for ( elem of target . querySelectorAll ( ".d-table -cell" ) )
104106 elem . setAttribute ( "role" , "cell" ) ;
105107 // Tables in Markdwn content get display: block, which causes them not to be treated as tables.
106108 for ( elem of target . querySelectorAll ( ".markdown-body table" ) )
You can’t perform that action at this time.
0 commit comments