We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaf3c45 commit 352f55eCopy full SHA for 352f55e
annotate.js
@@ -64,7 +64,7 @@ const makeClickHandler = (isHighlight) => {
64
// Remove .selected from all elements.
65
const deselectAll = () => {
66
const selectedComments = document.querySelectorAll('.selected');
67
- selectedComments.forEach(selectedComment => selectedComments[i].classList.remove('selected'))
+ selectedComments.forEach(selectedComment => selectedComment.classList.remove('selected'))
68
}
69
70
/**
0 commit comments