From ea42d8995b6e70e56cbcfd4f645a3ffe39f0f384 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Thu, 27 Jun 2024 10:03:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=A8=B1=E8=8A=B1=E7=89=B9?= =?UTF-8?q?=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/sakura.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/sakura.js b/public/js/sakura.js index 4d246a35..00b80c95 100644 --- a/public/js/sakura.js +++ b/public/js/sakura.js @@ -123,7 +123,7 @@ function createSakura() { 'style', 'position: fixed;left: 0;top: 0;pointer-events: none;' ) - canvas.setAttribute('id', id) + canvas.setAttribute('id', 'sakura') document.getElementsByTagName('body')[0].appendChild(canvas) cxt = canvas.getContext('2d') var sakuraList = new SakuraList() @@ -183,4 +183,4 @@ function destroySakura() { } window.createSakura = createSakura -window.destroySakura = destroySakura \ No newline at end of file +window.destroySakura = destroySakura