mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix fold comments only run once
This commit is contained in:
parent
8a21dad3d1
commit
cbf031e7e7
@ -35,11 +35,10 @@ const entry = async () => {
|
||||
button?.click()
|
||||
}
|
||||
if (!existingComment) {
|
||||
const [observer] = childListSubtree(card, () => {
|
||||
childListSubtree(card, () => {
|
||||
const panel = dq(card, commentSelector)
|
||||
if (panel) {
|
||||
injectToComment(card, handler)
|
||||
observer.disconnect()
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user