Skip to content

Commit 69535ee

Browse files
committed
ReviewBoard: Also indicate deleted lines.
1 parent c6cfd9e commit 69535ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReviewBoardA11yFixes.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function tweakSideBySide(side) {
2323
elem.setAttribute("role", "cell");
2424

2525
// For changed lines, prefix the right hand line number with off-screen text indicating the type of change.
26-
for (var tbody of side.querySelectorAll("tbody.insert,tbody.replace")) {
26+
for (var tbody of side.querySelectorAll("tbody.insert,tbody.replace,tbody.delete")) {
2727
for (var th of tbody.querySelectorAll("tr th:nth-child(3)"))
2828
th.innerHTML = '<span style="position: absolute; left: -10000px;">' + tbody.className + '</span> ' + th.innerHTML;
2929
}

0 commit comments

Comments
 (0)