From 4d10a8fe2da96e8fb4804e0138705b725b62828b Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期五, 09 六月 2023 19:36:55 +0800 Subject: [PATCH] no message --- public/html/zsz_act.html | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/public/html/zsz_act.html b/public/html/zsz_act.html index f9c2fe9..b2ebe0c 100644 --- a/public/html/zsz_act.html +++ b/public/html/zsz_act.html @@ -117,7 +117,10 @@ <script> (function () { - var size = (document.body.clientWidth || document.documentElement.clientWidth); + var size1=document.body.clientWidth; + var size2=document.documentElement.clientWidth; + var size=size1<=0?size2:size1; + size=size<=0?400:size; document.documentElement.style.fontSize = (size > 750 ? 750 : size) / 7.5 + 'px'; })(); -- Gitblit v1.9.3