Remove unused variable
This commit is contained in:
parent
defe6ebc4d
commit
315fbece44
@ -48,7 +48,6 @@ function addButtons() {
|
|||||||
console.log('sn-translator: Adding button to every comment ...')
|
console.log('sn-translator: Adding button to every comment ...')
|
||||||
const commentSection = document.querySelector('.item_comments__cN57K')
|
const commentSection = document.querySelector('.item_comments__cN57K')
|
||||||
const comments = commentSection.querySelectorAll('.comment_comment__5uvl3')
|
const comments = commentSection.querySelectorAll('.comment_comment__5uvl3')
|
||||||
const commentNodes = commentSection.querySelectorAll('.comment_text__nHI0E')
|
|
||||||
for (const comment of comments) {
|
for (const comment of comments) {
|
||||||
const topBar = comment.querySelector('.item_other__qNlji')
|
const topBar = comment.querySelector('.item_other__qNlji')
|
||||||
const content = comment.querySelector('.comment_text__nHI0E')
|
const content = comment.querySelector('.comment_text__nHI0E')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user