From 2c67ff85fcd694b47338355307d6f6a5059a6f61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=A5=E6=B5=B7?= Date: Fri, 24 Nov 2023 21:44:44 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=9B=B4=E6=96=B0=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/icon.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/assets/icon.js b/public/assets/icon.js index 1b04245..dcc81d2 100644 --- a/public/assets/icon.js +++ b/public/assets/icon.js @@ -1,10 +1,10 @@ (function () { - var svgCode = '' + var svgCode = ''; if (document.body) { - document.body.insertAdjacentHTML('afterbegin', svgCode) + document.body.insertAdjacentHTML('afterbegin', svgCode); } else { - document.addEventListener('DOMContentLoaded', function () { - document.body.insertAdjacentHTML('afterbegin', svgCode) - }) + document.addEventListener('DOMContentLoaded', function () { + document.body.insertAdjacentHTML('afterbegin', svgCode); + }); } -}()) \ No newline at end of file + }()); \ No newline at end of file