fix: 修复aria-hidden报错 (#1192)

This commit is contained in:
xiaoming
2025-01-04 02:19:38 +08:00
committed by GitHub
parent 79cd159154
commit 551292078e
15 changed files with 886 additions and 858 deletions

View File

@@ -28,8 +28,7 @@
((o = document.createElement("div")).innerHTML = i),
(i = null),
(e = o.getElementsByTagName("svg")[0]) &&
(e.setAttribute("aria-hidden", "true"),
(e.style.position = "absolute"),
((e.style.position = "absolute"),
(e.style.width = 0),
(e.style.height = 0),
(e.style.overflow = "hidden"),