From 56c2b5cd4fbdf5ac13865236f5701aabade471c1 Mon Sep 17 00:00:00 2001 From: libai <libai@yazhai.co> Date: Thu, 8 Dec 2022 19:07:42 +0800 Subject: [PATCH] 测试 --- mobile/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mobile/index.html b/mobile/index.html index 8354c45..74bf78b 100644 --- a/mobile/index.html +++ b/mobile/index.html @@ -1224,13 +1224,15 @@ $(function(){ var ua = window.navigator.userAgent.toLowerCase(); if (/iphone|ipad|ipod/.test(ua)) { if(sessionStorage.type!="pwa")return; + if($("body").offset().top!=0)return; if(zwidth>3){ - // window.location.reload() + window.location.reload() } } } }) + function asinGo(x,y){ return degNum=Math.round(180*Math.asin(x/Math.sqrt(x*x+y*y))/Math.PI*10)/10 } -- libgit2 0.25.0