mirror of
https://github.com/liriliri/eruda.git
synced 2026-02-02 09:49:00 +08:00
fix: no copy and delete for shadow root
This commit is contained in:
@@ -99,7 +99,7 @@ export default class Elements extends Tool {
|
|||||||
|
|
||||||
const node = this._curNode
|
const node = this._curNode
|
||||||
|
|
||||||
if (!node) {
|
if (!node || isShadowRoot(node)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user