|
|
@@ -10,9 +10,9 @@ window.onload=()=>{
|
|
|
CountSpan(second,number,reg);
|
|
|
CountSpan(third,number,reg);
|
|
|
CountPoint(fourth,number,reg);
|
|
|
- if(asny()){
|
|
|
+ if(onloadAsync()){
|
|
|
return;
|
|
|
- }else if(asny()=='none'){
|
|
|
+ }else if(onloadAsync()=='none'){
|
|
|
return;
|
|
|
}
|
|
|
else{
|
|
|
@@ -20,7 +20,7 @@ window.onload=()=>{
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
-asny=()=>{
|
|
|
+onloadAsync=()=>{
|
|
|
if (/MicroMessenger/.test(window.navigator.userAgent)) {
|
|
|
return true;
|
|
|
} else if (/AlipayClient/.test(window.navigator.userAgent)) {
|