From 973ce29ac7810fb1f6e37551c9ee1426eabfe7a8 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sat, 10 May 2025 00:56:14 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=A7=BB=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/index.html | 6 ------ client/ui/ShadowInner.jsx | 7 ------- 2 files changed, 13 deletions(-) delete mode 100644 client/ui/ShadowInner.jsx diff --git a/client/index.html b/client/index.html index 3f0a2a7..6515971 100644 --- a/client/index.html +++ b/client/index.html @@ -102,12 +102,6 @@ } window.addEventListener('resize', onResize) onResize() - - function shadowInnerInit(event) { - let v = event.currentTarget - $(v.parentElement.shadowRoot).append(v.children) - v.parentNode.removeChild(v) - } diff --git a/client/ui/ShadowInner.jsx b/client/ui/ShadowInner.jsx deleted file mode 100644 index 2e90312..0000000 --- a/client/ui/ShadowInner.jsx +++ /dev/null @@ -1,7 +0,0 @@ -export default function ShadowInner({ children }) { - return ( -
- {children} -
- ) -}