mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix wrong selector when removing custom style (fix #4557)
This commit is contained in:
parent
8ca54c2d9c
commit
71acfb2cf0
@ -37,7 +37,7 @@ export const addImportantStyle = (text: string, name?: string) =>
|
||||
export const removeStyle = (...names: string[]) => {
|
||||
names.forEach(name => {
|
||||
const id = getDefaultStyleID(name)
|
||||
dqa(`#${id}`).forEach(it => it.remove())
|
||||
document.getElementById(id)?.remove()
|
||||
})
|
||||
}
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user