Commit 56c2b5cd by libai

测试

parent 2d58578f
Showing with 3 additions and 1 deletions
...@@ -1224,13 +1224,15 @@ $(function(){ ...@@ -1224,13 +1224,15 @@ $(function(){
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) { if (/iphone|ipad|ipod/.test(ua)) {
if(sessionStorage.type!="pwa")return; if(sessionStorage.type!="pwa")return;
if($("body").offset().top!=0)return;
if(zwidth>3){ if(zwidth>3){
// window.location.reload() window.location.reload()
} }
} }
} }
}) })
function asinGo(x,y){ function asinGo(x,y){
return degNum=Math.round(180*Math.asin(x/Math.sqrt(x*x+y*y))/Math.PI*10)/10 return degNum=Math.round(180*Math.asin(x/Math.sqrt(x*x+y*y))/Math.PI*10)/10
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment