浏览代码

add scrolling

huai-sian 3 年之前
父节点
当前提交
56fbbc10e9
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      js/index.js

+ 2 - 0
js/index.js

@@ -2,6 +2,7 @@ let userAgent;
 let isSafari = false;
 let browserName;
 window.onload = function(){
+  //window.scrollBy(0, 1);
   /* if(screen.width >= 901){
       window.location.href = "https://www2.hhh.com.tw/";   
   } */
@@ -26,6 +27,7 @@ window.onload = function(){
           renderSec11(result);
           renderVideo(result);
       });
+       
 }
 
 function detectBrowser(agent){