diff --git a/code/js/plugin/xgcalendar.js b/code/js/plugin/xgcalendar.js index d8adef2..561f06e 100644 --- a/code/js/plugin/xgcalendar.js +++ b/code/js/plugin/xgcalendar.js @@ -1945,7 +1945,7 @@ var ph = $dvtec[0].scrollHeight; if (sh < 0) sh = 0; if (sh > ph - ch) sh = ph - ch - 10 * (23 - h); - $dvtec[0].scrollTop = sh; + // $dvtec[0].scrollTop = sh;// TODO 滚动的坏处是看不到了全日活动的,需要上滚才可以看到 } else { diff --git a/example/php-newstyle/static/js/plugin/xgcalendar.js b/example/php-newstyle/static/js/plugin/xgcalendar.js index 3c8ab20..cb54e72 100644 --- a/example/php-newstyle/static/js/plugin/xgcalendar.js +++ b/example/php-newstyle/static/js/plugin/xgcalendar.js @@ -1945,7 +1945,7 @@ var ph = $dvtec[0].scrollHeight; if (sh < 0) sh = 0; if (sh > ph - ch) sh = ph - ch - 10 * (23 - h); - $dvtec[0].scrollTop = sh; + // $dvtec[0].scrollTop = sh; TODO } else {