File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,14 +98,14 @@ function onNodeAdded(target) {
9898 elem . setAttribute ( "role" , "menuitem" ) ;
9999 onSelectMenuItemChanged ( elem ) ;
100100 }
101- // Table lists; e.g. in issue listings.
102- for ( elem of target . querySelectorAll ( ".Box-body" ) )
101+ // Table lists; e.g. in issue and commit listings.
102+ for ( elem of target . querySelectorAll ( ".table-list,. Box-body" ) )
103103 elem . setAttribute ( "role" , "table" ) ;
104104 for ( elem of target . querySelectorAll ( ".d-table" ) )
105105 elem . setAttribute ( "role" , "presentation" ) ;
106- for ( elem of target . querySelectorAll ( ".Box-body-row" ) )
106+ for ( elem of target . querySelectorAll ( ".table-list-item,. Box-body-row" ) )
107107 elem . setAttribute ( "role" , "row" ) ;
108- for ( elem of target . querySelectorAll ( ".d-table-cell" ) )
108+ for ( elem of target . querySelectorAll ( ".table-list-cell,. d-table-cell" ) )
109109 elem . setAttribute ( "role" , "cell" ) ;
110110 // Tables in Markdwn content get display: block, which causes them not to be treated as tables.
111111 for ( elem of target . querySelectorAll ( ".markdown-body table" ) )
You can’t perform that action at this time.
0 commit comments